public function MediaSelectionProcessorManagerInterface::registerProcessor in Gutenberg 8.2
Same name and namespace in other branches
- 8 src/MediaSelectionProcessor/MediaSelectionProcessorManagerInterface.php \Drupal\gutenberg\MediaSelectionProcessor\MediaSelectionProcessorManagerInterface::registerProcessor()
Register media selection processor.
Parameters
\Drupal\gutenberg\MediaSelectionProcessor\MediaSelectionProcessorInterface $processor: Media selection processor instance.
\Drupal\gutenberg\MediaSelectionProcessor\string $processor_name: Processor name.
1 method overrides MediaSelectionProcessorManagerInterface::registerProcessor()
- MediaSelectionProcessorManager::registerProcessor in src/
MediaSelectionProcessor/ MediaSelectionProcessorManager.php - Register media selection processor.
File
- src/
MediaSelectionProcessor/ MediaSelectionProcessorManagerInterface.php, line 20
Class
- MediaSelectionProcessorManagerInterface
- Provides contract for media selection processor manager.
Namespace
Drupal\gutenberg\MediaSelectionProcessorCode
public function registerProcessor(MediaSelectionProcessorInterface $processor, string $processor_name);