You are here

interface ContextReactionInterface in Context 8.0

Same name and namespace in other branches
  1. 8.4 src/ContextReactionInterface.php \Drupal\context\ContextReactionInterface
  2. 8 src/ContextReactionInterface.php \Drupal\context\ContextReactionInterface

Hierarchy

Expanded class hierarchy of ContextReactionInterface

All classes that implement ContextReactionInterface

2 files declare their use of ContextReactionInterface
ContextReactionFormBase.php in src/Reaction/ContextReactionFormBase.php
ReactionDeleteForm.php in modules/context_ui/src/Form/ReactionDeleteForm.php

File

src/ContextReactionInterface.php, line 10

Namespace

Drupal\context
View source
interface ContextReactionInterface extends ConfigurablePluginInterface, PluginFormInterface, PluginInspectionInterface, ExecutableInterface {

  /**
   * Get the unique ID of this context reaction.
   *
   * @return string|null
   */
  public function getId();

  /**
   * Provides a human readable summary of the condition's configuration.
   *
   * @return \Drupal\Core\StringTranslation\TranslatableMarkup
   */
  public function summary();

}

Members

Namesort descending Modifiers Type Description Overrides
ConfigurablePluginInterface::defaultConfiguration public function Gets default configuration for this plugin. 1
ConfigurablePluginInterface::getConfiguration public function Gets this plugin's configuration. 1
ConfigurablePluginInterface::setConfiguration public function Sets the configuration for this plugin instance. 1
ContextReactionInterface::getId public function Get the unique ID of this context reaction. 1
ContextReactionInterface::summary public function Provides a human readable summary of the condition's configuration. 1
DependentPluginInterface::calculateDependencies public function Calculates dependencies for the configured plugin. 19
ExecutableInterface::execute public function Executes the plugin. 20
PluginFormInterface::buildConfigurationForm public function Form constructor. 36
PluginFormInterface::submitConfigurationForm public function Form submission handler. 32
PluginFormInterface::validateConfigurationForm public function Form validation handler. 18
PluginInspectionInterface::getPluginDefinition public function Gets the definition of the plugin implementation. 4
PluginInspectionInterface::getPluginId public function Gets the plugin_id of the plugin instance. 2