You are here

public function SendContextAction::execute in TMGMT Translator Smartling 8

Same name and namespace in other branches
  1. 8.4 src/Plugin/Action/SendContextAction.php \Drupal\tmgmt_smartling\Plugin\Action\SendContextAction::execute()
  2. 8.2 src/Plugin/Action/SendContextAction.php \Drupal\tmgmt_smartling\Plugin\Action\SendContextAction::execute()
  3. 8.3 src/Plugin/Action/SendContextAction.php \Drupal\tmgmt_smartling\Plugin\Action\SendContextAction::execute()

Executes the plugin.

Overrides ExecutableInterface::execute

File

src/Plugin/Action/SendContextAction.php, line 123
Contains \Drupal\smartling\Plugin\Action\TranslateNode.

Class

SendContextAction
Translate entity.

Namespace

Drupal\tmgmt_smartling\Plugin\Action

Code

public function execute(ContentEntityInterface $entity = NULL) {
  $this
    ->executeMultiple([
    $entity,
  ]);
}