You are here

protected static function Team::propertyToBaseFieldBlackList in Apigee Edge 8

Array of properties that should not be exposed as base fields by default.

Return value

string[] Array with property names.

Overrides FieldableEdgeEntityBase::propertyToBaseFieldBlackList

File

modules/apigee_edge_teams/src/Entity/Team.php, line 339

Class

Team
Defines the Team entity class.

Namespace

Drupal\apigee_edge_teams\Entity

Code

protected static function propertyToBaseFieldBlackList() : array {
  return array_merge(parent::propertyToBaseFieldBlackList(), [
    // Apps only contains app names (not display names), we do not want to
    // expose them by default.
    'apps',
    // There is no need to expose the organization that the team (company)
    // belongs.
    'organization',
  ]);
}