You are here

abstract class PropertyAdminDigitBase in ThemeKey 8

Hierarchy

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\themekey
View source
abstract class PropertyAdminDigitBase extends SingletonPluginBase implements PropertyAdminInterface {

  /**
   * {@inheritdoc}
   */
  public function validateFormat($value) {
    return ctype_digit($value);
  }

  /**
   * {@inheritdoc}
   */
  public function getFormElement() {
    return array();
  }

}

Members

Namesort descending Modifiers Type Description Overrides
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::getPluginDefinition public function Gets the definition of the plugin implementation. Overrides PluginInspectionInterface::getPluginDefinition 3
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.
PluginBase::__construct public function Constructs a \Drupal\Component\Plugin\PluginBase object. 92
PropertyAdminDigitBase::getFormElement public function Return the the current values of the ThemeKey property. Overrides PropertyAdminInterface::getFormElement
PropertyAdminDigitBase::validateFormat public function Validates if a value's format matches a ThemeKey property. Overrides PropertyAdminInterface::validateFormat
PropertyAdminInterface::getPossibleValues public function Return the list of possible values of a ThemeKey property. 1
SingletonPluginBase::$instances protected static property
SingletonPluginBase::create public static function Creates an instance of the plugin. Overrides ContainerFactoryPluginInterface::create