class LanguageCookieCondition in Language Cookie 8
Defines a language cookie condition annotation object.
Plugin Namespace: Plugin\LanguageCookieCondition.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\Core\Condition\Annotation\Condition
- class \Drupal\language_cookie\Annotation\LanguageCookieCondition
- class \Drupal\Core\Condition\Annotation\Condition
Expanded class hierarchy of LanguageCookieCondition
See also
1 file declares its use of LanguageCookieCondition
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.
File
- src/
Annotation/ LanguageCookieCondition.php, line 16
Namespace
Drupal\language_cookie\AnnotationView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Condition:: |
public | property | The category under which the condition should listed in the UI. | |
Condition:: |
public | property | An array of context definitions describing the context used by the plugin. | |
Condition:: |
public | property | An array of context definitions describing the context used by the plugin. | |
Condition:: |
public | property | The human-readable name of the condition. | |
Condition:: |
public | property | The name of the module providing the type. | |
LanguageCookieCondition:: |
public | property | The description of the language cookie condition plugin. | |
LanguageCookieCondition:: |
public | property |
The language cookie condition plugin ID. Overrides Condition:: |
|
LanguageCookieCondition:: |
public | property | The human-readable name of the language cookie condition plugin. | |
LanguageCookieCondition:: |
public | property | The default weight of the language cookie condition plugin. | |
Plugin:: |
protected | property | The plugin definition read from the class annotation. | 1 |
Plugin:: |
public | function |
Gets the value of an annotation. Overrides AnnotationInterface:: |
5 |
Plugin:: |
public | function |
Gets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the unique ID for this annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
protected | function | Parses an annotation into its definition. | |
Plugin:: |
public | function |
Sets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Sets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function | Constructs a Plugin object. | 2 |