You are here

private static function FieldableEdgeEntityBase::exposePropertyAsBaseField in Apigee Edge 8

Returns whether an entity property is blacklisted to be exposed as field.

Parameters

string $property: Property name.

Return value

bool TRUE if it is blacklisted, FALSE otherwise.

1 call to FieldableEdgeEntityBase::exposePropertyAsBaseField()
FieldableEdgeEntityBase::getProperties in src/Entity/FieldableEdgeEntityBase.php
Parses the properties and its types from the parent class.

File

src/Entity/FieldableEdgeEntityBase.php, line 175

Class

FieldableEdgeEntityBase
Base field support for Apigee Entities without making them content entities.

Namespace

Drupal\apigee_edge\Entity

Code

private static function exposePropertyAsBaseField(string $property) : bool {
  return in_array($property, static::propertyToBaseFieldBlackList());
}