public function FileEntityInterface::getMetadata in File Entity (fieldable files) 8.2
Gets the metadata property value.
Parameters
string $property: A metadata property key.
Return value
int|null A metadata property value.
1 method overrides FileEntityInterface::getMetadata()
- FileEntity::getMetadata in src/
Entity/ FileEntity.php - Gets the metadata property value.
File
- src/
FileEntityInterface.php, line 21
Class
- FileEntityInterface
- File entity interface.
Namespace
Drupal\file_entityCode
public function getMetadata($property);