public function MediaSelectionProcessorInterface::process in Gutenberg 8
Same name and namespace in other branches
- 8.2 src/MediaSelectionProcessor/MediaSelectionProcessorInterface.php \Drupal\gutenberg\MediaSelectionProcessor\MediaSelectionProcessorInterface::process()
Process data and get array of created media entities.
Parameters
array $data: Array of data to process.
Return value
\Drupal\media\MediaInterface[] The list of media entities.
1 method overrides MediaSelectionProcessorInterface::process()
- DefaultMediaSelectionProcessor::process in src/
MediaSelectionProcessor/ DefaultMediaSelectionProcessor.php - Process data and get array of created media entities.
File
- src/
MediaSelectionProcessor/ MediaSelectionProcessorInterface.php, line 21
Class
- MediaSelectionProcessorInterface
- Interface MediaSelectionProcessorInterface.
Namespace
Drupal\gutenberg\MediaSelectionProcessorCode
public function process(array $data);