Error message

  • Warning: count(): Parameter must be an array or an object that implements Countable in _api_make_match_member_link() (line 1230 of /home/projects/api/www/sites/all/modules/api/api.formatting.inc).
  • Warning: count(): Parameter must be an array or an object that implements Countable in _api_make_match_member_link() (line 1230 of /home/projects/api/www/sites/all/modules/api/api.formatting.inc).
  • Warning: count(): Parameter must be an array or an object that implements Countable in _api_make_match_member_link() (line 1230 of /home/projects/api/www/sites/all/modules/api/api.formatting.inc).
  • Warning: count(): Parameter must be an array or an object that implements Countable in _api_make_match_member_link() (line 1230 of /home/projects/api/www/sites/all/modules/api/api.formatting.inc).
  • Warning: count(): Parameter must be an array or an object that implements Countable in _api_make_match_member_link() (line 1230 of /home/projects/api/www/sites/all/modules/api/api.formatting.inc).
  • Warning: count(): Parameter must be an array or an object that implements Countable in _api_make_match_member_link() (line 1230 of /home/projects/api/www/sites/all/modules/api/api.formatting.inc).

public function SourcePluginInterface::getData

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);