class Broken in View Mode Page 3.2.x
Same name and namespace in other branches
- 8.3 src/Plugin/view_mode_page/AliasType/Broken.php \Drupal\view_mode_page\Plugin\view_mode_page\AliasType\Broken
- 4.0.x src/Plugin/view_mode_page/AliasType/Broken.php \Drupal\view_mode_page\Plugin\view_mode_page\AliasType\Broken
Defines a fallback plugin for missing block plugins.
Plugin annotation
@AliasType(
id = "broken",
label = @Translation("Broken"),
admin_label = @Translation("Broken/Missing"),
category = @Translation("AliasType"),
)
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterface
- class \Drupal\Component\Plugin\ContextAwarePluginBase implements ContextAwarePluginInterface
- class \Drupal\Core\Plugin\ContextAwarePluginBase implements CacheableDependencyInterface, ContextAwarePluginInterface uses DependencySerializationTrait, ContextAwarePluginTrait, StringTranslationTrait, TypedDataTrait
- class \Drupal\view_mode_page\Plugin\view_mode_page\AliasType\EntityAliasTypeBase implements ContainerFactoryPluginInterface, AliasTypeInterface
- class \Drupal\view_mode_page\Plugin\view_mode_page\AliasType\Broken
- class \Drupal\view_mode_page\Plugin\view_mode_page\AliasType\EntityAliasTypeBase implements ContainerFactoryPluginInterface, AliasTypeInterface
- class \Drupal\Core\Plugin\ContextAwarePluginBase implements CacheableDependencyInterface, ContextAwarePluginInterface uses DependencySerializationTrait, ContextAwarePluginTrait, StringTranslationTrait, TypedDataTrait
- class \Drupal\Component\Plugin\ContextAwarePluginBase implements ContextAwarePluginInterface
Expanded class hierarchy of Broken
File
- src/
Plugin/ view_mode_page/ AliasType/ Broken.php, line 15
Namespace
Drupal\view_mode_page\Plugin\view_mode_page\AliasTypeView source
class Broken extends EntityAliasTypeBase {
/**
* {@inheritdoc}
*/
public function getLabel() {
return $this
->t('Broken type');
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Broken:: |
public | function |
Get the label. Overrides EntityAliasTypeBase:: |
|
ContextAwarePluginBase:: |
protected | function |
Overrides ContextAwarePluginBase:: |
|
ContextAwarePluginTrait:: |
protected | property | The data objects representing the context of this plugin. | |
ContextAwarePluginTrait:: |
protected | property | Tracks whether the context has been initialized from configuration. | |
ContextAwarePluginTrait:: |
public | function | 9 | |
ContextAwarePluginTrait:: |
public | function | 7 | |
ContextAwarePluginTrait:: |
public | function | 4 | |
ContextAwarePluginTrait:: |
public | function | ||
ContextAwarePluginTrait:: |
public | function | ||
ContextAwarePluginTrait:: |
public | function | ||
ContextAwarePluginTrait:: |
public | function | ||
ContextAwarePluginTrait:: |
public | function | ||
ContextAwarePluginTrait:: |
public | function | ||
ContextAwarePluginTrait:: |
public | function | ||
ContextAwarePluginTrait:: |
abstract protected | function | 1 | |
ContextAwarePluginTrait:: |
public | function | 1 | |
ContextAwarePluginTrait:: |
public | function | ||
ContextAwarePluginTrait:: |
public | function | ||
ContextAwarePluginTrait:: |
public | function | ||
DependencySerializationTrait:: |
protected | property | ||
DependencySerializationTrait:: |
protected | property | ||
DependencySerializationTrait:: |
public | function | 2 | |
DependencySerializationTrait:: |
public | function | 2 | |
EntityAliasTypeBase:: |
protected | property | The entity manager service. | |
EntityAliasTypeBase:: |
protected | property | The language manager service. | |
EntityAliasTypeBase:: |
protected | property | The module handler service. | |
EntityAliasTypeBase:: |
public | function |
Determines if this plugin type can apply a given object. Overrides AliasTypeInterface:: |
|
EntityAliasTypeBase:: |
public | function | ||
EntityAliasTypeBase:: |
public static | function |
Creates an instance of the plugin. Overrides ContainerFactoryPluginInterface:: |
|
EntityAliasTypeBase:: |
protected | function | Returns the entity type ID. | |
EntityAliasTypeBase:: |
public | function |
Get the token types. Overrides AliasTypeInterface:: |
|
EntityAliasTypeBase:: |
public | function |
Constructs a EntityAliasTypeBase instance. Overrides ContextAwarePluginBase:: |
|
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 plugin_id of the plugin instance. Overrides PluginInspectionInterface:: |
|
PluginBase:: |
public | function | Determines if the plugin is configurable. | |
StringTranslationTrait:: |
protected | property | The string translation service. | 4 |
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. | |
TypedDataTrait:: |
protected | property | The typed data manager used for creating the data types. | |
TypedDataTrait:: |
public | function | Gets the typed data manager. | 2 |
TypedDataTrait:: |
public | function | Sets the typed data manager. | 2 |