interface ContextReactionInterface in Context 8.4
Same name and namespace in other branches
- 8 src/ContextReactionInterface.php \Drupal\context\ContextReactionInterface
- 8.0 src/ContextReactionInterface.php \Drupal\context\ContextReactionInterface
Provides an interface for ContextReaction.
Hierarchy
- interface \Drupal\Component\Plugin\ConfigurableInterface; interface \Drupal\Core\Plugin\PluginFormInterface; interface \Drupal\Component\Plugin\PluginInspectionInterface; interface \Drupal\Core\Executable\ExecutableInterface
- interface \Drupal\context\ContextReactionInterface
Expanded class hierarchy of ContextReactionInterface
All classes that implement ContextReactionInterface
File
- src/
ContextReactionInterface.php, line 13
Namespace
Drupal\contextView source
interface ContextReactionInterface extends ConfigurableInterface, PluginFormInterface, PluginInspectionInterface, ExecutableInterface {
/**
* Get the unique ID of this context reaction.
*
* @return string|null
* The Reaction id or null if reaction was not found.
*/
public function getId();
/**
* Provides a human readable summary of the condition's configuration.
*
* @return \Drupal\Core\StringTranslation\TranslatableMarkup
* An object that, when cast to a string, returns the translated string.
*/
public function summary();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigurableInterface:: |
public | function | Gets default configuration for this plugin. | 11 |
ConfigurableInterface:: |
public | function | Gets this plugin's configuration. | 12 |
ConfigurableInterface:: |
public | function | Sets the configuration for this plugin instance. | 12 |
ContextReactionInterface:: |
public | function | Get the unique ID of this context reaction. | 1 |
ContextReactionInterface:: |
public | function | Provides a human readable summary of the condition's configuration. | 7 |
ExecutableInterface:: |
public | function | Executes the plugin. | 20 |
PluginFormInterface:: |
public | function | Form constructor. | 36 |
PluginFormInterface:: |
public | function | Form submission handler. | 32 |
PluginFormInterface:: |
public | function | Form validation handler. | 18 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |