You are here

public function FileEntity::getAllMetadata in File Entity (fieldable files) 8.2

Gets all metadata properties.

Return value

array An array of metadata properties.

Overrides FileEntityInterface::getAllMetadata

1 call to FileEntity::getAllMetadata()
FileEntity::postSave in src/Entity/FileEntity.php
Implements hook_file_insert().

File

src/Entity/FileEntity.php, line 78

Class

FileEntity
Replace for the core file entity class.

Namespace

Drupal\file_entity\Entity

Code

public function getAllMetadata() {
  $this
    ->loadMetadata();
  return $this->metadata;
}