interface MediaSelectionProcessorInterface in Gutenberg 8
Same name and namespace in other branches
- 8.2 src/MediaSelectionProcessor/MediaSelectionProcessorInterface.php \Drupal\gutenberg\MediaSelectionProcessor\MediaSelectionProcessorInterface
Interface MediaSelectionProcessorInterface.
@package Drupal\gutenberg\MediaSelectionProcessor
Hierarchy
- interface \Drupal\gutenberg\MediaSelectionProcessor\MediaSelectionProcessorInterface
Expanded class hierarchy of MediaSelectionProcessorInterface
All classes that implement MediaSelectionProcessorInterface
File
- src/
MediaSelectionProcessor/ MediaSelectionProcessorInterface.php, line 10
Namespace
Drupal\gutenberg\MediaSelectionProcessorView source
interface MediaSelectionProcessorInterface {
/**
* Process data and get array of created media entities.
*
* @param array $data
* Array of data to process.
*
* @return \Drupal\media\MediaInterface[]
* The list of media entities.
*/
public function process(array $data);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MediaSelectionProcessorInterface:: |
public | function | Process data and get array of created media entities. | 1 |