You are here

public function BulkUpdateFieldsActionBase::execute in Bulk Update Fields 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/Action/BulkUpdateFieldsActionBase.php \Drupal\bulk_update_fields\Plugin\Action\BulkUpdateFieldsActionBase::execute()

Executes the plugin.

Overrides ExecutableInterface::execute

File

src/Plugin/Action/BulkUpdateFieldsActionBase.php, line 123

Class

BulkUpdateFieldsActionBase
Update Fields.

Namespace

Drupal\bulk_update_fields\Plugin\Action

Code

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