Overrides \Drupal\Core\Entity\Entity::getExportProperties().
Overrides ConfigEntityBase::getExportProperties
public function getExportProperties() {
$names = array(
'id',
'uuid',
'status',
'langcode',
'field_uuid',
'entity_type',
'bundle',
'label',
'description',
'required',
'default_value',
'default_value_function',
'settings',
);
$properties = array();
foreach ($names as $name) {
$properties[$name] = $this
->get($name);
}
// Additionally, include the field type, that is needed to be able to
// generate the field-type-dependant parts of the config schema.
$properties['field_type'] = $this->field->type;
return $properties;
}