function Image::getMetadataAttributes
Overrides File::getMetadataAttributes
File
- 
              core/modules/ media/ src/ Plugin/ media/ Source/ Image.php, line 109 
Class
- Image
- Image entity media source.
Namespace
Drupal\media\Plugin\media\SourceCode
public function getMetadataAttributes() {
  $attributes = parent::getMetadataAttributes();
  $attributes += [
    static::METADATA_ATTRIBUTE_WIDTH => $this->t('Width'),
    static::METADATA_ATTRIBUTE_HEIGHT => $this->t('Height'),
  ];
  return $attributes;
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
