interface ScheduledTransitionsUtilityInterface in Scheduled Transitions 8
Same name and namespace in other branches
- 2.x src/ScheduledTransitionsUtilityInterface.php \Drupal\scheduled_transitions\ScheduledTransitionsUtilityInterface
Utilities for Scheduled Transitions module.
Hierarchy
- interface \Drupal\scheduled_transitions\ScheduledTransitionsUtilityInterface
Expanded class hierarchy of ScheduledTransitionsUtilityInterface
All classes that implement ScheduledTransitionsUtilityInterface
2 files declare their use of ScheduledTransitionsUtilityInterface
File
- src/
ScheduledTransitionsUtilityInterface.php, line 12
Namespace
Drupal\scheduled_transitionsView source
interface ScheduledTransitionsUtilityInterface {
/**
* Get scheduled transitions for an entity.
*
* @param \Drupal\Core\Entity\EntityInterface $entity
* An entity.
*
* @return \Drupal\scheduled_transitions\Entity\ScheduledTransitionInterface[]
* An array of scheduled transitions.
*/
public function getTransitions(EntityInterface $entity) : array;
/**
* Get list of entity type/bundles scheduled transitions can work with.
*
* @return array
* Arrays of bundles keyed by entity type.
*/
public function getApplicableBundles() : array;
/**
* Get list of entity type/bundles scheduled transitions are enabled on.
*
* @return array
* Arrays of bundles keyed by entity type.
*/
public function getBundles() : array;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ScheduledTransitionsUtilityInterface:: |
public | function | Get list of entity type/bundles scheduled transitions can work with. | 1 |
ScheduledTransitionsUtilityInterface:: |
public | function | Get list of entity type/bundles scheduled transitions are enabled on. | 1 |
ScheduledTransitionsUtilityInterface:: |
public | function | Get scheduled transitions for an entity. | 1 |