You are here

class LanguageCookieCondition in Language Cookie 8

Defines a language cookie condition annotation object.

Plugin Namespace: Plugin\LanguageCookieCondition.

Hierarchy

Expanded class hierarchy of LanguageCookieCondition

See also

Plugin API

1 file declares its use of LanguageCookieCondition
LanguageCookieConditionManager.php in src/LanguageCookieConditionManager.php
9 classes are annotated with LanguageCookieCondition
LanguageCookieConditionBlacklistedPaths in src/Plugin/LanguageCookieCondition/LanguageCookieConditionBlacklistedPaths.php
Class for the Blacklisted paths condition plugin.
LanguageCookieConditionHardcodedBlacklistedPaths in src/Plugin/LanguageCookieCondition/LanguageCookieConditionHardcodedBlacklistedPaths.php
Class for the Hardcoded blacklisted paths condition plugin.
LanguageCookieConditionIndexPhp in src/Plugin/LanguageCookieCondition/LanguageCookieConditionIndexPhp.php
Class for the Index.php condition plugin.
LanguageCookieConditionLanguageAccess in src/Plugin/LanguageCookieCondition/LanguageCookieConditionLanguageAccess.php
Class for language access plugin.
LanguageCookieConditionMethodIsValid in src/Plugin/LanguageCookieCondition/LanguageCookieConditionMethodIsValid.php
Class for LanguageCookieConditionPathIsValid.

... See full list

File

src/Annotation/LanguageCookieCondition.php, line 16

Namespace

Drupal\language_cookie\Annotation
View source
class LanguageCookieCondition extends Condition {

  /**
   * The language cookie condition plugin ID.
   *
   * @var string
   */
  public $id;

  /**
   * The default weight of the language cookie condition plugin.
   *
   * @var int
   */
  public $weight;

  /**
   * The human-readable name of the language cookie condition plugin.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $name;

  /**
   * The description of the language cookie condition plugin.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $description;

}

Members

Namesort descending Modifiers Type Description Overrides
Condition::$category public property The category under which the condition should listed in the UI.
Condition::$context Deprecated public property An array of context definitions describing the context used by the plugin.
Condition::$context_definitions public property An array of context definitions describing the context used by the plugin.
Condition::$label public property The human-readable name of the condition.
Condition::$module public property The name of the module providing the type.
LanguageCookieCondition::$description public property The description of the language cookie condition plugin.
LanguageCookieCondition::$id public property The language cookie condition plugin ID. Overrides Condition::$id
LanguageCookieCondition::$name public property The human-readable name of the language cookie condition plugin.
LanguageCookieCondition::$weight public property The default weight of the language cookie condition plugin.
Plugin::$definition protected property The plugin definition read from the class annotation. 1
Plugin::get public function Gets the value of an annotation. Overrides AnnotationInterface::get 5
Plugin::getClass public function Gets the class of the annotated class. Overrides AnnotationInterface::getClass
Plugin::getId public function Gets the unique ID for this annotated class. Overrides AnnotationInterface::getId
Plugin::getProvider public function Gets the name of the provider of the annotated class. Overrides AnnotationInterface::getProvider
Plugin::parse protected function Parses an annotation into its definition.
Plugin::setClass public function Sets the class of the annotated class. Overrides AnnotationInterface::setClass
Plugin::setProvider public function Sets the name of the provider of the annotated class. Overrides AnnotationInterface::setProvider
Plugin::__construct public function Constructs a Plugin object. 2