You are here

public function MediaSelectionProcessorManagerInterface::process in Gutenberg 8

Same name and namespace in other branches
  1. 8.2 src/MediaSelectionProcessor/MediaSelectionProcessorManagerInterface.php \Drupal\gutenberg\MediaSelectionProcessor\MediaSelectionProcessorManagerInterface::process()

Process media selection data by provided processor.

Parameters

string $processor_name: Processor name.

array $data: Data to process.

Return value

mixed The processed media selection data.

1 method overrides MediaSelectionProcessorManagerInterface::process()
MediaSelectionProcessorManager::process in src/MediaSelectionProcessor/MediaSelectionProcessorManager.php
Process media selection data by provided processor.

File

src/MediaSelectionProcessor/MediaSelectionProcessorManagerInterface.php, line 33

Class

MediaSelectionProcessorManagerInterface
Provides contract for media selection processor manager.

Namespace

Drupal\gutenberg\MediaSelectionProcessor

Code

public function process(string $processor_name, array $data);