VolumeTrait.php in Dimension 2.1.x
Same filename and directory in other branches
Namespace
Drupal\dimension\Plugin\FieldFile
src/Plugin/Field/VolumeTrait.phpView source
<?php
namespace Drupal\dimension\Plugin\Field;
trait VolumeTrait {
/**
* {@inheritdoc}
*/
public static function fields() : array {
return [
'length' => t('Length'),
'width' => t('Width'),
'height' => t('Height'),
];
}
}
Traits
Name | Description |
---|---|
VolumeTrait |