Search for toArray

  1. Search 7.x for toArray
  2. Search 9.5.x for toArray
  3. Search 8.9.x for toArray
  4. Search 11.x for toArray
  5. Other projects
Title Object type File name Summary
ArrayElement::toArray function core/lib/Drupal/Core/Config/Schema/ArrayElement.php Returns an array of all property values.
Attribute::toArray function core/lib/Drupal/Core/Template/Attribute.php Returns all storage elements as an array.
BatchBuilder::toArray function core/lib/Drupal/Core/Batch/BatchBuilder.php Converts a \Drupal\Core\Batch\Batch object into an array.
ComplexDataInterface::toArray function core/lib/Drupal/Core/TypedData/ComplexDataInterface.php Returns an array of all property values.
ConfigEntityBase::toArray function core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php Gets an array of all property values.
ConfigEntityBaseUnitTest::testToArray function core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php @covers ::toArray[[api-linebreak]]
ConfigEntityBaseUnitTest::testToArrayIdKey function core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php @covers ::toArray[[api-linebreak]]
ConfigEntityBaseUnitTest::testToArraySchemaException function core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php @covers ::toArray[[api-linebreak]]
ContentEntityBase::toArray function core/lib/Drupal/Core/Entity/ContentEntityBase.php Gets an array of all property values.
DataDefinition::toArray function core/lib/Drupal/Core/TypedData/DataDefinition.php Returns all definition values as array.
EntityAdapter::toArray function core/lib/Drupal/Core/Entity/Plugin/DataType/EntityAdapter.php Returns an array of all property values.
EntityAdapterUnitTest::testToArray function core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php @covers ::toArray[[api-linebreak]]
EntityAdapterUnitTest::testToArrayWithoutData function core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php @covers ::toArray[[api-linebreak]]
EntityBase::toArray function core/lib/Drupal/Core/Entity/EntityBase.php Gets an array of all property values.
EntityDisplayBase::toArray function core/lib/Drupal/Core/Entity/EntityDisplayBase.php Gets an array of all property values.
EntityInterface::toArray function core/lib/Drupal/Core/Entity/EntityInterface.php Gets an array of all property values.
FieldableEntityInterface::toArray function core/lib/Drupal/Core/Entity/FieldableEntityInterface.php Gets an array of all field values.
FileTranslation::filesToArray function core/lib/Drupal/Core/StringTranslation/Translator/FileTranslation.php Reads the given Gettext PO files into a data structure.
Map::toArray function core/lib/Drupal/Core/TypedData/Plugin/DataType/Map.php Returns an array of all property values.
MapItem::toArray function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/MapItem.php Returns an array of all property values.
StorageCopyTraitTest::toArray function core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php Get the protected config data out of a MemoryStorage.
TypedConfigInterface::toArray function core/lib/Drupal/Core/Config/Schema/TypedConfigInterface.php Returns an array of all property values.
ViewUI::toArray function core/modules/views_ui/src/ViewUI.php Gets an array of all property values.

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