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