Data::toArray |
function |
core/modules/jsonapi/src/JsonApiResource/Data.php |
Returns the collection as an array. |
Section::toArray |
function |
core/modules/layout_builder/src/Section.php |
Returns an array representation of the section. |
Attribute::toArray |
function |
core/lib/Drupal/Core/Template/Attribute.php |
Returns all storage elements as an array. |
EntityBase::toArray |
function |
core/lib/Drupal/Core/Entity/EntityBase.php |
Gets an array of all property values. |
BatchBuilder::toArray |
function |
core/lib/Drupal/Core/Batch/BatchBuilder.php |
Converts a \Drupal\Core\Batch\Batch object into an array. |
ArrayElement::toArray |
function |
core/lib/Drupal/Core/Config/Schema/ArrayElement.php |
Returns an array of all property values. |
ContentEntity::toArray |
function |
core/modules/migrate_drupal/src/Plugin/migrate/source/ContentEntity.php |
Converts an entity to an array. |
DataDefinition::toArray |
function |
core/lib/Drupal/Core/TypedData/DataDefinition.php |
Returns all definition values as array. |
EntityInterface::toArray |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Gets an array of all property values. |
SectionComponent::toArray |
function |
core/modules/layout_builder/src/SectionComponent.php |
Returns an array representation of the section component. |
ConfigEntityBase::toArray |
function |
core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.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. |
ComplexDataInterface::toArray |
function |
core/lib/Drupal/Core/TypedData/ComplexDataInterface.php |
Returns an array of all property values. |
FileTranslation::filesToArray |
function |
core/lib/Drupal/Core/StringTranslation/Translator/FileTranslation.php |
Reads the given Gettext PO files into a data structure. |
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. |
FieldableEntityInterface::toArray |
function |
core/lib/Drupal/Core/Entity/FieldableEntityInterface.php |
Gets an array of all field values. |
CKEditor5PluginDefinition::toArray |
function |
core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php |
Gets an array representation of this CKEditor 5 plugin definition. |
FieldConfigEntityUnitTest::testToArray |
function |
core/modules/field/tests/src/Unit/FieldConfigEntityUnitTest.php |
@covers ::toArray |
CKEditor5ValidationTestTrait::violationsToArray |
function |
core/modules/ckeditor5/tests/src/Kernel/CKEditor5ValidationTestTrait.php |
Transforms a constraint violation list object to an assertable array. |