You are here

public function SourcePluginInterface::getData in Translation Management Tool 8

Returns an array with the data structured for translation.

Parameters

\Drupal\tmgmt\JobItemInterface $job_item: The job item entity.

See also

JobItem::getData()

4 methods override SourcePluginInterface::getData()
ConfigSource::getData in sources/tmgmt_config/src/Plugin/tmgmt/Source/ConfigSource.php
Implements TMGMTEntitySourcePluginController::getData().
ContentEntitySource::getData in sources/content/src/Plugin/tmgmt/Source/ContentEntitySource.php
Implements TMGMTEntitySourcePluginController::getData().
LocaleSource::getData in sources/locale/src/Plugin/tmgmt/Source/LocaleSource.php
Returns an array with the data structured for translation.
TestSource::getData in tmgmt_test/src/Plugin/tmgmt/Source/TestSource.php
Returns an array with the data structured for translation.

File

src/SourcePluginInterface.php, line 22

Class

SourcePluginInterface
Interface for source plugin controllers.

Namespace

Drupal\tmgmt

Code

public function getData(JobItemInterface $job_item);