You are here

AreaTrait.php in Dimension 8

File

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

namespace Drupal\dimension\Plugin\Field;

trait AreaTrait {

  /**
   * {@inheritdoc}
   */
  public static function fields() : array {
    return array(
      'width' => t('Width'),
      'height' => t('Height'),
    );
  }

}

Traits

Namesort descending Description
AreaTrait