interface AdministrationLanguageNegotiationConditionInterface in Administration Language Negotiation 8
Interface AdministrationLanguageNegotiationConditionInterface.
Hierarchy
- interface \Drupal\Core\Executable\ExecutableInterface; interface \Drupal\Core\Plugin\PluginFormInterface; interface \Drupal\Component\Plugin\ConfigurableInterface; interface \Drupal\Component\Plugin\DependentPluginInterface; interface \Drupal\Component\Plugin\ConfigurablePluginInterface; interface \Drupal\Component\Plugin\PluginInspectionInterface; interface \Drupal\Core\Cache\CacheableDependencyInterface
- interface \Drupal\Core\Condition\ConditionInterface
- interface \Drupal\administration_language_negotiation\AdministrationLanguageNegotiationConditionInterface
- interface \Drupal\Core\Condition\ConditionInterface
Expanded class hierarchy of AdministrationLanguageNegotiationConditionInterface
All classes that implement AdministrationLanguageNegotiationConditionInterface
2 files declare their use of AdministrationLanguageNegotiationConditionInterface
- AdminRoutes.php in src/
Plugin/ AdministrationLanguageNegotiationCondition/ AdminRoutes.php - Paths.php in src/
Plugin/ AdministrationLanguageNegotiationCondition/ Paths.php
File
Namespace
Drupal\administration_language_negotiationView source
interface AdministrationLanguageNegotiationConditionInterface extends ConditionInterface {
/**
* Wrapper function that returns FALSE.
*
* @return bool
* Return FALSE
*/
public function block();
/**
* Returns the description of the plugin.
*
* If the description is not set, returns NULL.
*
* @return string|null
* The description of the plugin.
*/
public function getDescription();
/**
* Returns the name of the plugin.
*
* If the name is not set, returns its ID.
*
* @return string
* The name of the plugin.
*/
public function getName();
/**
* Returns the weight of the plugin.
*
* If the weight is not set, returns 0.
*
* @return int
* The weight of the plugin.
*/
public function getWeight();
/**
* Wrapper function that returns FALSE.
*
* @return bool
* Return TRUE
*/
public function pass();
/**
* Post config save method.
*
* Method that gets triggered when the configuration of the form
* has been saved.
*
* @param array $form
* The form array.
* @param \Drupal\Core\Form\FormStateInterface $form_state
* The FormState object.
*/
public function postConfigSave(array &$form, FormStateInterface $form_state);
/**
* Set the weight of the plugin.
*
* @param int $weight
* The plugin's weight.
*
* @return $this
* Returns itself.
*/
public function setWeight($weight);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AdministrationLanguageNegotiationConditionInterface:: |
public | function | Wrapper function that returns FALSE. | 1 |
AdministrationLanguageNegotiationConditionInterface:: |
public | function | Returns the description of the plugin. | 1 |
AdministrationLanguageNegotiationConditionInterface:: |
public | function | Returns the name of the plugin. | 1 |
AdministrationLanguageNegotiationConditionInterface:: |
public | function | Returns the weight of the plugin. | 1 |
AdministrationLanguageNegotiationConditionInterface:: |
public | function | Wrapper function that returns FALSE. | 1 |
AdministrationLanguageNegotiationConditionInterface:: |
public | function | Post config save method. | 1 |
AdministrationLanguageNegotiationConditionInterface:: |
public | function | Set the weight of the plugin. | 1 |
CacheableDependencyInterface:: |
public | function | The cache contexts associated with this object. | 34 |
CacheableDependencyInterface:: |
public | function | The maximum age for which this object may be cached. | 34 |
CacheableDependencyInterface:: |
public | function | The cache tags associated with this object. | 27 |
ConditionInterface:: |
public | function | Evaluates the condition and returns TRUE or FALSE accordingly. | 10 |
ConditionInterface:: |
public | function | Determines whether condition result will be negated. | 1 |
ConditionInterface:: |
public | function | Sets the executable manager class. | 1 |
ConditionInterface:: |
public | function | Provides a human readable summary of the condition's configuration. | 10 |
ConfigurableInterface:: |
public | function | Gets default configuration for this plugin. | 11 |
ConfigurableInterface:: |
public | function | Gets this plugin's configuration. | 12 |
ConfigurableInterface:: |
public | function | Sets the configuration for this plugin instance. | 12 |
DependentPluginInterface:: |
public | function | Calculates dependencies for the configured plugin. | 19 |
ExecutableInterface:: |
public | function | Executes the plugin. | 20 |
PluginFormInterface:: |
public | function | Form constructor. | 36 |
PluginFormInterface:: |
public | function | Form submission handler. | 32 |
PluginFormInterface:: |
public | function | Form validation handler. | 18 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |