class OGHeaders in Share Message 8
OGHeaders plugin.
Plugin annotation
@SharePlugin(
id = "ogheaders",
label = @Translation("OG Headers"),
description = @Translation("Open graph headers are used when users want to use it as a framework or a background tool only.")
)
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterface
- class \Drupal\sharemessage\SharePluginBase implements SharePluginInterface uses StringTranslationTrait
- class \Drupal\sharemessage\Plugin\sharemessage\OGHeaders implements SharePluginInterface
- class \Drupal\sharemessage\SharePluginBase implements SharePluginInterface uses StringTranslationTrait
Expanded class hierarchy of OGHeaders
File
- src/
Plugin/ sharemessage/ OGHeaders.php, line 17
Namespace
Drupal\sharemessage\Plugin\sharemessageView source
class OGHeaders extends SharePluginBase implements SharePluginInterface {
/**
* {@inheritdoc}
*/
public function build($context, $plugin_attributes) {
// Og tags are build by default in ShareMessageViewBuilder.
return;
}
/**
* {@inheritdoc}
*/
public function getSetting($key) {
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
OGHeaders:: |
public | function |
Creates the AddThis toolbar. Overrides SharePluginInterface:: |
|
OGHeaders:: |
public | function |
Gets the setting for $key with overrides if applicable. Overrides SharePluginInterface:: |
|
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. | |
SharePluginBase:: |
protected | property | Share Message. | |
SharePluginBase:: |
public | function |
Form constructor. Overrides PluginFormInterface:: |
3 |
SharePluginBase:: |
public | function | ||
SharePluginBase:: |
public | function |
Provides the action link plugin's default configuration. Overrides ConfigurableInterface:: |
|
SharePluginBase:: |
public | function |
Provides the action link plugin's current configuration array. Overrides ConfigurableInterface:: |
|
SharePluginBase:: |
public | function |
Updates the plugin's current configuration. Overrides ConfigurableInterface:: |
|
SharePluginBase:: |
public | function |
Form submission handler. Overrides PluginFormInterface:: |
|
SharePluginBase:: |
public | function |
Form validation handler. Overrides PluginFormInterface:: |
1 |
SharePluginBase:: |
public | function |
Constructs a \Drupal\Component\Plugin\PluginBase object. Overrides PluginBase:: |
1 |
StringTranslationTrait:: |
protected | property | The string translation service. | 1 |
StringTranslationTrait:: |
protected | function | Formats a string containing a count of items. | |
StringTranslationTrait:: |
protected | function | Returns the number of plurals supported by a given language. | |
StringTranslationTrait:: |
protected | function | Gets the string translation service. | |
StringTranslationTrait:: |
public | function | Sets the string translation service to use. | 2 |
StringTranslationTrait:: |
protected | function | Translates a string to the current language or to a given language. |