MediaSelectionProcessorInterface.php in Gutenberg 8.2
Same filename and directory in other branches
Namespace
Drupal\gutenberg\MediaSelectionProcessorFile
src/MediaSelectionProcessor/MediaSelectionProcessorInterface.phpView source
<?php
namespace Drupal\gutenberg\MediaSelectionProcessor;
/**
* Interface MediaSelectionProcessorInterface.
*
* @package Drupal\gutenberg\MediaSelectionProcessor
*/
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);
}
Interfaces
Name | Description |
---|---|
MediaSelectionProcessorInterface | Interface MediaSelectionProcessorInterface. |