You are here

public function MediaSelectionProcessorManagerInterface::processData in Gutenberg 8

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

Process selection data.

If numeric string is provided, default processor will be fired.

Parameters

string $data: Serialized data to process.

Return value

\Drupal\media\MediaInterface[] List of media entities.

1 method overrides MediaSelectionProcessorManagerInterface::processData()
MediaSelectionProcessorManager::processData in src/MediaSelectionProcessor/MediaSelectionProcessorManager.php
Process selection data.

File

src/MediaSelectionProcessor/MediaSelectionProcessorManagerInterface.php, line 46

Class

MediaSelectionProcessorManagerInterface
Provides contract for media selection processor manager.

Namespace

Drupal\gutenberg\MediaSelectionProcessor

Code

public function processData(string $data);