You are here

public function FieldsHelperInterface::isContentEntityType in Search API 8

Checks whether the given entity type is a content entity type.

Parameters

string $entity_type_id: The ID of the entity type.

Return value

bool TRUE if the $entity_type_id is a valid content entity type, FALSE otherwise.

1 method overrides FieldsHelperInterface::isContentEntityType()
FieldsHelper::isContentEntityType in src/Utility/FieldsHelper.php
Checks whether the given entity type is a content entity type.

File

src/Utility/FieldsHelperInterface.php, line 146

Class

FieldsHelperInterface
Provides an interface for implementations of the fields helper service.

Namespace

Drupal\search_api\Utility

Code

public function isContentEntityType($entity_type_id);