You are here

public function ExportAction::execute in Content Synchronizer 3.x

Same name and namespace in other branches
  1. 8.2 src/Plugin/Action/ExportAction.php \Drupal\content_synchronizer\Plugin\Action\ExportAction::execute()
  2. 8 src/Plugin/Action/ExportAction.php \Drupal\content_synchronizer\Plugin\Action\ExportAction::execute()

Executes the plugin.

Overrides ExecutableInterface::execute

File

src/Plugin/Action/ExportAction.php, line 81

Class

ExportAction
Export entity.

Namespace

Drupal\content_synchronizer\Plugin\Action

Code

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