public function EntityDisplayBase::getExportProperties

Overrides \Drupal\Core\Entity\Entity::getExportProperties().

Overrides ConfigEntityBase::getExportProperties

1 call to EntityDisplayBase::getExportProperties()
EntityFormDisplay::serialize in drupal/core/modules/entity/lib/Drupal/entity/Plugin/Core/Entity/EntityFormDisplay.php

File

drupal/core/modules/entity/lib/Drupal/entity/EntityDisplayBase.php, line 135
Contains \Drupal\entity\EntityDisplayBase.

Class

EntityDisplayBase
Base class for config entity types that store configuration for entity forms and displays.

Namespace

Drupal\entity

Code

public function getExportProperties() {
  $names = array(
    'id',
    'uuid',
    'targetEntityType',
    'bundle',
    'mode',
    'content',
  );
  $properties = array();
  foreach ($names as $name) {
    $properties[$name] = $this
      ->get($name);
  }
  return $properties;
}