interface ActionConfigEntityInterface

Same name and namespace in other branches
  1. 11.x core/modules/system/src/ActionConfigEntityInterface.php \Drupal\system\ActionConfigEntityInterface
  2. 10 core/modules/system/src/ActionConfigEntityInterface.php \Drupal\system\ActionConfigEntityInterface
  3. 9 core/modules/system/src/ActionConfigEntityInterface.php \Drupal\system\ActionConfigEntityInterface
  4. 8.9.x core/modules/system/src/ActionConfigEntityInterface.php \Drupal\system\ActionConfigEntityInterface

Provides an interface defining an action entity.

Hierarchy

Expanded class hierarchy of ActionConfigEntityInterface

All classes that implement ActionConfigEntityInterface

3 files declare their use of ActionConfigEntityInterface
Action.php in core/modules/system/src/Entity/Action.php
UserBulkFormTest.php in core/modules/user/tests/src/Unit/Plugin/views/field/UserBulkFormTest.php
ViewsViewsHooks.php in core/modules/views/src/Hook/ViewsViewsHooks.php

File

core/modules/system/src/ActionConfigEntityInterface.php, line 10

Namespace

Drupal\system
View source
interface ActionConfigEntityInterface extends ConfigEntityInterface {
  
  /**
   * Returns whether or not this action is configurable.
   *
   * @return bool
   *   TRUE if the action is configurable, FALSE otherwise.
   */
  public function isConfigurable();
  
  /**
   * Returns the operation type.
   *
   * The operation type can be NULL if no type is specified.
   *
   * @return string|null
   *   The operation type, or NULL if no type is specified.
   */
  public function getType();
  
  /**
   * Returns the operation plugin.
   *
   * @return \Drupal\Core\Action\ActionInterface
   *   The action plugin instance.
   */
  public function getPlugin();

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.