class Hreflang in Metatag 8
A plugin for the 'Alternative language links (hreflang)' meta tag group.
Plugin annotation
@MetatagGroup(
  id = "hreflang",
  label = @Translation("Alternative language links (hreflang)"),
  description = @Translation("These meta tags are designed to point visitors to versions of the current page in other languages."),
  weight = 60,
)
  Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterface
 
Expanded class hierarchy of Hreflang
File
- metatag_hreflang/
src/ Plugin/ metatag/ Group/ Hreflang.php, line 17  
Namespace
Drupal\metatag_hreflang\Plugin\metatag\GroupView source
class Hreflang extends GroupBase {
}Members
| 
            Name | 
                  Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| 
            GroupBase:: | 
                  protected | property | Description of the group. | |
| 
            GroupBase:: | 
                  protected | property | Machine name of the meta tag group plugin. | |
| 
            GroupBase:: | 
                  protected | property | The name of the group. | |
| 
            GroupBase:: | 
                  public | function | This group object's description. | |
| 
            GroupBase:: | 
                  public | function | Get this group's internal ID. | |
| 
            GroupBase:: | 
                  public | function | Whether or not this group is being used. | |
| 
            GroupBase:: | 
                  public | function | Get this group's human-friendly name. | |
| 
            GroupBase:: | 
                  public | function | 
            Constructs a \Drupal\Component\Plugin\PluginBase object. Overrides PluginBase:: | 
                  |
| 
            PluginBase:: | 
                  protected | property | Configuration information passed into the plugin. | 1 | 
| 
            PluginBase:: | 
                  protected | property | The plugin implementation definition. | 1 | 
| 
            PluginBase:: | 
                  protected | property | The plugin_id. | |
| 
            PluginBase:: | 
                  constant | A string which is used to separate base plugin IDs from the derivative ID. | ||
| 
            PluginBase:: | 
                  public | function | 
            Gets the base_plugin_id of the plugin instance. Overrides DerivativeInspectionInterface:: | 
                  |
| 
            PluginBase:: | 
                  public | function | 
            Gets the derivative_id of the plugin instance. Overrides DerivativeInspectionInterface:: | 
                  |
| 
            PluginBase:: | 
                  public | function | 
            Gets the definition of the plugin implementation. Overrides PluginInspectionInterface:: | 
                  3 | 
| 
            PluginBase:: | 
                  public | function | 
            Gets the plugin_id of the plugin instance. Overrides PluginInspectionInterface:: | 
                  |
| 
            PluginBase:: | 
                  public | function | Determines if the plugin is configurable. |