You are here

public function JobItem::getPlugin in Translation Management Tool 8

Returns the plugin.

Return value

string The plugin ID.

Overrides JobItemInterface::getPlugin

File

src/Entity/JobItem.php, line 248

Class

JobItem
Entity class for the tmgmt_job_item entity.

Namespace

Drupal\tmgmt\Entity

Code

public function getPlugin() {
  return $this
    ->get('plugin')->value;
}