You are here

VolumeTrait.php in Dimension 2.1.x

File

src/Plugin/Field/VolumeTrait.php
View 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

Namesort descending Description
VolumeTrait