ContextReactionInterface.php 685 B

12345678910111213141516171819202122232425
  1. <?php
  2. namespace Drupal\context;
  3. use Drupal\Core\Executable\ExecutableInterface;
  4. use Drupal\Component\Plugin\PluginInspectionInterface;
  5. use Drupal\Component\Plugin\ConfigurablePluginInterface;
  6. use Drupal\Core\Plugin\PluginFormInterface;
  7. interface ContextReactionInterface extends ConfigurablePluginInterface, PluginFormInterface, PluginInspectionInterface, ExecutableInterface {
  8. /**
  9. * Get the unique ID of this context reaction.
  10. *
  11. * @return string|null
  12. */
  13. public function getId();
  14. /**
  15. * Provides a human readable summary of the condition's configuration.
  16. *
  17. * @return \Drupal\Core\StringTranslation\TranslatableMarkup
  18. */
  19. public function summary();
  20. }