You are here

public function BulkUpdateFieldsActionBase::execute in Bulk Update Fields 8.2

Same name and namespace in other branches
  1. 8 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 124

Class

BulkUpdateFieldsActionBase
Update Fields.

Namespace

Drupal\bulk_update_fields\Plugin\Action

Code

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