You are here

class Broken in View Mode Page 3.2.x

Same name and namespace in other branches
  1. 8.3 src/Plugin/view_mode_page/AliasType/Broken.php \Drupal\view_mode_page\Plugin\view_mode_page\AliasType\Broken
  2. 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

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\AliasType
View source
class Broken extends EntityAliasTypeBase {

  /**
   * {@inheritdoc}
   */
  public function getLabel() {
    return $this
      ->t('Broken type');
  }

}

Members

Namesort descending Modifiers Type Description Overrides
Broken::getLabel public function Get the label. Overrides EntityAliasTypeBase::getLabel
ContextAwarePluginBase::createContextFromConfiguration protected function Overrides ContextAwarePluginBase::createContextFromConfiguration
ContextAwarePluginTrait::$context protected property The data objects representing the context of this plugin.
ContextAwarePluginTrait::$initializedContextConfig protected property Tracks whether the context has been initialized from configuration.
ContextAwarePluginTrait::getCacheContexts public function 9
ContextAwarePluginTrait::getCacheMaxAge public function 7
ContextAwarePluginTrait::getCacheTags public function 4
ContextAwarePluginTrait::getContext public function
ContextAwarePluginTrait::getContextDefinition public function
ContextAwarePluginTrait::getContextDefinitions public function
ContextAwarePluginTrait::getContextMapping public function
ContextAwarePluginTrait::getContexts public function
ContextAwarePluginTrait::getContextValue public function
ContextAwarePluginTrait::getContextValues public function
ContextAwarePluginTrait::getPluginDefinition abstract protected function 1
ContextAwarePluginTrait::setContext public function 1
ContextAwarePluginTrait::setContextMapping public function
ContextAwarePluginTrait::setContextValue public function
ContextAwarePluginTrait::validateContexts public function
DependencySerializationTrait::$_entityStorages protected property
DependencySerializationTrait::$_serviceIds protected property
DependencySerializationTrait::__sleep public function 2
DependencySerializationTrait::__wakeup public function 2
EntityAliasTypeBase::$entityTypeManager protected property The entity manager service.
EntityAliasTypeBase::$languageManager protected property The language manager service.
EntityAliasTypeBase::$moduleHandler protected property The module handler service.
EntityAliasTypeBase::applies public function Determines if this plugin type can apply a given object. Overrides AliasTypeInterface::applies
EntityAliasTypeBase::calculateDependencies public function
EntityAliasTypeBase::create public static function Creates an instance of the plugin. Overrides ContainerFactoryPluginInterface::create
EntityAliasTypeBase::getEntityTypeId protected function Returns the entity type ID.
EntityAliasTypeBase::getTokenTypes public function Get the token types. Overrides AliasTypeInterface::getTokenTypes
EntityAliasTypeBase::__construct public function Constructs a EntityAliasTypeBase instance. Overrides ContextAwarePluginBase::__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::getPluginId public function Gets the plugin_id of the plugin instance. Overrides PluginInspectionInterface::getPluginId
PluginBase::isConfigurable public function Determines if the plugin is configurable.
StringTranslationTrait::$stringTranslation protected property The string translation service. 4
StringTranslationTrait::formatPlural protected function Formats a string containing a count of items.
StringTranslationTrait::getNumberOfPlurals protected function Returns the number of plurals supported by a given language.
StringTranslationTrait::getStringTranslation protected function Gets the string translation service.
StringTranslationTrait::setStringTranslation public function Sets the string translation service to use. 2
StringTranslationTrait::t protected function Translates a string to the current language or to a given language.
TypedDataTrait::$typedDataManager protected property The typed data manager used for creating the data types.
TypedDataTrait::getTypedDataManager public function Gets the typed data manager. 2
TypedDataTrait::setTypedDataManager public function Sets the typed data manager. 2