You are here

public function ModerationInformationInterface::isModeratableBundle in Workbench Moderation 8.2

Same name and namespace in other branches
  1. 8 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 62

Class

ModerationInformationInterface
Interface for moderation_information service.

Namespace

Drupal\workbench_moderation

Code

public function isModeratableBundle(EntityTypeInterface $entity_type, $bundle);