public function ModerationInformationInterface::isModeratableBundle in Workbench Moderation 8
Same name and namespace in other branches
- 8.2 src/ModerationInformationInterface.php \Drupal\workbench_moderation\ModerationInformationInterface::isModeratableBundle()
Determines if an entity type/bundle is one that will be moderated.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition to check.
string $bundle: The bundle to check.
Return value
bool TRUE if this is a bundle we want to moderate, FALSE otherwise.
1 method overrides ModerationInformationInterface::isModeratableBundle()
- ModerationInformation::isModeratableBundle in src/
ModerationInformation.php - Determines if an entity type/bundle is one that will be moderated.
File
- src/
ModerationInformationInterface.php, line 61
Class
- ModerationInformationInterface
- Interface for moderation_information service.
Namespace
Drupal\workbench_moderationCode
public function isModeratableBundle(EntityTypeInterface $entity_type, $bundle);