You are here

public function ApigeeActionsEntityTypeHelper::isFieldableEdgeEntityType in Apigee Edge 8

Determines if the given entity type is a fieldable Edge entity type.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type.

Return value

bool TRUE if given entity type is a fieldable Edge entity type. FALSE otherwise.

Overrides ApigeeActionsEntityTypeHelperInterface::isFieldableEdgeEntityType

1 call to ApigeeActionsEntityTypeHelper::isFieldableEdgeEntityType()
ApigeeActionsEntityTypeHelper::getEntityTypes in modules/apigee_edge_actions/src/ApigeeActionsEntityTypeHelper.php
Returns an array of Apigee Edge entity types.

File

modules/apigee_edge_actions/src/ApigeeActionsEntityTypeHelper.php, line 61

Class

ApigeeActionsEntityTypeHelper
Defines the apigee_edge_actions.edge_entity_type_manager service.

Namespace

Drupal\apigee_edge_actions

Code

public function isFieldableEdgeEntityType(EntityTypeInterface $entity_type) : bool {
  return $entity_type
    ->entityClassImplements(FieldableEdgeEntityInterface::class);
}