FieldPermissionType.php in Field Permissions 8.2
Same filename and directory in other branches
Namespace
Drupal\field_permissions\AnnotationFile
src/Annotation/FieldPermissionType.phpView source
<?php
namespace Drupal\field_permissions\Annotation;
use Drupal\Component\Annotation\Plugin;
/**
* Defines a field permission type plugin.
*
* @Annotation
*/
class FieldPermissionType extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* The human-readable title.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $title;
/**
* The permission type description.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $description;
/**
* The weight for ordering the plugins on the field settings page.
*
* @var int
*/
public $weight;
}
Classes
Name | Description |
---|---|
FieldPermissionType | Defines a field permission type plugin. |