You are here

class OpenGraph in Metatag 8

The open graph group.

Plugin annotation


@MetatagGroup(
  id = "open_graph",
  label = @Translation("Open Graph"),
  description = @Translation("The <a href='https://ogp.me/'>Open Graph meta tags</a> are used to control how Facebook, Pinterest, LinkedIn and other social networking sites interpret the site's content.<br><br>The Facebook <a href='https://developers.facebook.com/tools/debug/'>Sharing Debugger</a> lets you preview how your content will look when it's shared to Facebook and debug any issues with your Open Graph tags."),
  weight = 3
)

Hierarchy

Expanded class hierarchy of OpenGraph

File

metatag_open_graph/src/Plugin/metatag/Group/OpenGraph.php, line 17

Namespace

Drupal\metatag_open_graph\Plugin\metatag\Group
View source
class OpenGraph extends GroupBase {

}

Members

Namesort descending Modifiers Type Description Overrides
GroupBase::$description protected property Description of the group.
GroupBase::$id protected property Machine name of the meta tag group plugin.
GroupBase::$label protected property The name of the group.
GroupBase::description public function This group object's description.
GroupBase::id public function Get this group's internal ID.
GroupBase::isActive public function Whether or not this group is being used.
GroupBase::label public function Get this group's human-friendly name.
GroupBase::__construct public function Constructs a \Drupal\Component\Plugin\PluginBase object. Overrides PluginBase::__construct
PluginBase::$configuration protected property Configuration information passed into the plugin. 1
PluginBase::$pluginDefinition protected property The plugin implementation definition. 1
PluginBase::$pluginId protected property The plugin_id.
PluginBase::DERIVATIVE_SEPARATOR constant A string which is used to separate base plugin IDs from the derivative ID.
PluginBase::getBaseId public function Gets the base_plugin_id of the plugin instance. Overrides DerivativeInspectionInterface::getBaseId
PluginBase::getDerivativeId public function Gets the derivative_id of the plugin instance. Overrides DerivativeInspectionInterface::getDerivativeId
PluginBase::getPluginDefinition public function Gets the definition of the plugin implementation. Overrides PluginInspectionInterface::getPluginDefinition 3
PluginBase::getPluginId public function Gets the plugin_id of the plugin instance. Overrides PluginInspectionInterface::getPluginId
PluginBase::isConfigurable public function Determines if the plugin is configurable.