class NoType

Provides an operation with no type specified.

Plugin annotation


@Action(
  id = "action_test_no_type",
  label = @Translation("An operation with no type specified")
)

Hierarchy

Expanded class hierarchy of NoType

File

drupal/core/modules/system/tests/modules/action_test/lib/Drupal/action_test/Plugin/Action/NoType.php, line 22
Contains \Drupal\action_test\Plugin\Action\NoType.

Namespace

Drupal\action_test\Plugin\Action
View source
class NoType extends ActionBase {

  /**
   * {@inheritdoc}
   */
  public function execute($entity = NULL) {
  }

}

Members

Namesort descending Modifiers Type Description Overrides
ActionBase::executeMultiple public function Executes the plugin for an array of objects. Overrides ActionInterface::executeMultiple 2
ContainerFactoryPluginBase::create public static function Creates an instance of the plugin. Overrides ContainerFactoryPluginInterface::create 11
NoType::execute public function Executes the plugin. Overrides ExecutableInterface::execute
PluginBase::$configuration protected property Configuration information passed into the plugin. 1
PluginBase::$pluginDefinition protected property The plugin implementation definition.
PluginBase::$pluginId protected property The plugin_id.
PluginBase::getPluginDefinition public function Returns the definition of the plugin implementation. Overrides PluginInspectionInterface::getPluginDefinition
PluginBase::getPluginId public function Returns the plugin_id of the plugin instance. Overrides PluginInspectionInterface::getPluginId
PluginBase::__construct public function Constructs a Drupal\Component\Plugin\PluginBase object. 17