AreaTrait.php in Dimension 2.1.x
File
src/Plugin/Field/AreaTrait.php
View source
<?php
namespace Drupal\dimension\Plugin\Field;
trait AreaTrait {
public static function fields() : array {
return [
'width' => t('Width'),
'height' => t('Height'),
];
}
}