ActionConfigEntityInterface.php 581 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. namespace Drupal\system;
  3. use Drupal\Core\Config\Entity\ConfigEntityInterface;
  4. /**
  5. * Provides an interface defining a action entity.
  6. */
  7. interface ActionConfigEntityInterface extends ConfigEntityInterface {
  8. /**
  9. * Returns whether or not this action is configurable.
  10. *
  11. * @return bool
  12. */
  13. public function isConfigurable();
  14. /**
  15. * Returns the operation type.
  16. *
  17. * @return string
  18. */
  19. public function getType();
  20. /**
  21. * Returns the operation plugin.
  22. *
  23. * @return \Drupal\Core\Action\ActionInterface
  24. */
  25. public function getPlugin();
  26. }