FieldFormatterCondition.php in Field Formatter Condition 8
Namespace
Drupal\fico\AnnotationFile
src/Annotation/FieldFormatterCondition.phpView source
<?php
namespace Drupal\fico\Annotation;
use Drupal\Component\Annotation\Plugin;
/**
* Defines a field formatter condition item annotation object.
*
* @see \Drupal\fico\Plugin\FieldFormatterConditionManager
* @see plugin_api
*
* @Annotation
*/
class FieldFormatterCondition extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* The field formatter condition label in the select box.
*
* @var string
*/
public $label;
/**
* Show this condition on DS fields.
*
* @var bool
*/
public $dsFields;
/**
* This field formatter condition is allowed for the following field types.
*
* @var array
*/
public $types;
}
Classes
Name | Description |
---|---|
FieldFormatterCondition | Defines a field formatter condition item annotation object. |