Area.php in Dimension 2.0.x
Same filename in this branch
Same filename and directory in other branches
File
src/Plugin/Field/FieldFormatter/Area.phpView source
<?php
namespace Drupal\dimension\Plugin\Field\FieldFormatter;
use Drupal\dimension\Plugin\Field\AreaTrait;
/**
* Plugin implementation of the 'area_field_formatter' formatter.
*
* @FieldFormatter(
* id = "area_field_formatter",
* label = @Translation("Dimension: Area"),
* field_types = {
* "area_field_type"
* }
* )
*/
class Area extends Dimension {
use AreaTrait;
}