abstract class PropertyAdminDigitBase in ThemeKey 8
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterface
- class \Drupal\themekey\Plugin\SingletonPluginBase implements ContainerFactoryPluginInterface
- class \Drupal\themekey\PropertyAdminDigitBase implements PropertyAdminInterface
- class \Drupal\themekey\Plugin\SingletonPluginBase implements ContainerFactoryPluginInterface
Expanded class hierarchy of PropertyAdminDigitBase
1 file declares its use of PropertyAdminDigitBase
- NodeNid.php in src/
Plugin/ PropertyAdmin/ NodeNid.php - Contains \Drupal\themekey\Plugin\Property\DrupalRouteName.
File
- src/
PropertyAdminDigitBase.php, line 12 - Provides Drupal\themekey\PropertyBase.
Namespace
Drupal\themekeyView source
abstract class PropertyAdminDigitBase extends SingletonPluginBase implements PropertyAdminInterface {
/**
* {@inheritdoc}
*/
public function validateFormat($value) {
return ctype_digit($value);
}
/**
* {@inheritdoc}
*/
public function getFormElement() {
return array();
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
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 definition of the plugin implementation. Overrides PluginInspectionInterface:: |
3 |
PluginBase:: |
public | function |
Gets the plugin_id of the plugin instance. Overrides PluginInspectionInterface:: |
|
PluginBase:: |
public | function | Determines if the plugin is configurable. | |
PluginBase:: |
public | function | Constructs a \Drupal\Component\Plugin\PluginBase object. | 92 |
PropertyAdminDigitBase:: |
public | function |
Return the the current values of the ThemeKey property. Overrides PropertyAdminInterface:: |
|
PropertyAdminDigitBase:: |
public | function |
Validates if a value's format matches a ThemeKey property. Overrides PropertyAdminInterface:: |
|
PropertyAdminInterface:: |
public | function | Return the list of possible values of a ThemeKey property. | 1 |
SingletonPluginBase:: |
protected static | property | ||
SingletonPluginBase:: |
public static | function |
Creates an instance of the plugin. Overrides ContainerFactoryPluginInterface:: |