FieldInheritance.php in Field Inheritance 2.0.x
Same filename in this branch
Same filename and directory in other branches
Namespace
Drupal\field_inheritance\AnnotationFile
src/Annotation/FieldInheritance.phpView source
<?php
namespace Drupal\field_inheritance\Annotation;
use Drupal\Component\Annotation\Plugin;
/**
* Defines a field inheritance plugin annotation object.
*
* @Annotation
*/
class FieldInheritance extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* The name of the form plugin.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $name;
/**
* An array of field types the inheritance plugin supports.
*
* @var array
*/
public $types = [];
}
Classes
Name | Description |
---|---|
FieldInheritance | Defines a field inheritance plugin annotation object. |