ActionInterface.php

Contains \Drupal\Core\Action\ActionInterface.

Namespace

Drupal\Core\Action

File

drupal/core/lib/Drupal/Core/Action/ActionInterface.php
View source
<?php

/**
 * @file
 * Contains \Drupal\Core\Action\ActionInterface.
 */
namespace Drupal\Core\Action;

use Drupal\Core\Executable\ExecutableInterface;

/**
 * Provides an interface for an Action plugin.
 *
 * @see \Drupal\Core\Annotation\Action
 * @see \Drupal\Core\Action\ActionManager
 */
interface ActionInterface extends ExecutableInterface {

  /**
   * Executes the plugin for an array of objects.
   *
   * @param array $objects
   *   An array of entities.
   */
  public function executeMultiple(array $objects);

}

Interfaces

Namesort descending Description
ActionInterface Provides an interface for an Action plugin.