function PreExportEvent::getAllowList

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/DefaultContent/PreExportEvent.php \Drupal\Core\DefaultContent\PreExportEvent::getAllowList()

Returns a map of which fields should be exported.

Return value

bool[] An array whose keys are field names, and the values are booleans indicating whether the field should be exported, even if it is computed.

File

core/lib/Drupal/Core/DefaultContent/PreExportEvent.php, line 88

Class

PreExportEvent
Event dispatched before an entity is exported as default content.

Namespace

Drupal\Core\DefaultContent

Code

public function getAllowList() : array {
  return $this->allowList;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.