protected function ContentEntityDeriver::isCompatible in Workbench Moderation to Content Moderation 8.2
Determines if an entity type can be used by the derived plugin.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
Return value
bool TRUE if the entity type is compatible with the plugin; FALSE otherwise.
2 calls to ContentEntityDeriver::isCompatible()
- ContentEntityDeriver::getDerivativeDefinitions in src/
Plugin/ migrate/ source/ ContentEntityDeriver.php - Gets the definition of all derivatives of a base plugin.
- ModerationDeriver::isCompatible in src/
Plugin/ Deriver/ ModerationDeriver.php - Determines if an entity type can be used by the derived plugin.
1 method overrides ContentEntityDeriver::isCompatible()
- ModerationDeriver::isCompatible in src/
Plugin/ Deriver/ ModerationDeriver.php - Determines if an entity type can be used by the derived plugin.
File
- src/
Plugin/ migrate/ source/ ContentEntityDeriver.php, line 63
Class
Namespace
Drupal\wbm2cm\Plugin\migrate\sourceCode
protected function isCompatible(EntityTypeInterface $entity_type) {
return $entity_type instanceof ContentEntityTypeInterface;
}