class MetatagGroup in Metatag 8
Defines a MetatagGroup annotation object.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\metatag\Annotation\MetatagGroup
Expanded class hierarchy of MetatagGroup
19 classes are annotated with MetatagGroup
- Advanced in src/
Plugin/ metatag/ Group/ Advanced.php - The advanced group.
- AndroidMobile in metatag_mobile/
src/ Plugin/ metatag/ Group/ AndroidMobile.php - The Android mobile group.
- AppleMobile in metatag_mobile/
src/ Plugin/ metatag/ Group/ AppleMobile.php - The Apple mobile group.
- AppLinks in metatag_app_links/
src/ Plugin/ metatag/ Group/ AppLinks.php - Provides a plugin for the 'App Links' meta tag group.
- Basic in src/
Plugin/ metatag/ Group/ Basic.php - The basic group.
File
- src/
Annotation/ MetatagGroup.php, line 12
Namespace
Drupal\metatag\AnnotationView source
class MetatagGroup extends Plugin {
/**
* The group's internal ID, in machine name format.
*
* @var string
*/
public $id;
/**
* The name of the group.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $label;
/**
* Description of the group.
*
* @var string
*/
public $description;
/**
* Weight of the group.
*
* @var int
*/
public $weight;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MetatagGroup:: |
public | property | Description of the group. | |
MetatagGroup:: |
public | property | The group's internal ID, in machine name format. | |
MetatagGroup:: |
public | property | The name of the group. | |
MetatagGroup:: |
public | property | Weight of the group. | |
Plugin:: |
protected | property | The plugin definition read from the class annotation. | 1 |
Plugin:: |
public | function |
Gets the value of an annotation. Overrides AnnotationInterface:: |
5 |
Plugin:: |
public | function |
Gets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the unique ID for this annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
protected | function | Parses an annotation into its definition. | |
Plugin:: |
public | function |
Sets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Sets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function | Constructs a Plugin object. | 2 |