You are here

LengthTrait.php in Dimension 2.1.x

File

src/Plugin/Field/LengthTrait.php
View source
<?php

namespace Drupal\dimension\Plugin\Field;

trait LengthTrait {

  /**
   * {@inheritdoc}
   */
  public static function fields() : array {
    return [
      'length' => t('Length'),
    ];
  }

}

Traits

Namesort descending Description
LengthTrait