PropertyAdminDigitBase.php in ThemeKey 8
Provides Drupal\themekey\PropertyBase.
Namespace
Drupal\themekeyFile
src/PropertyAdminDigitBase.phpView source
<?php
/**
* @file
* Provides Drupal\themekey\PropertyBase.
*/
namespace Drupal\themekey;
use Drupal\themekey\Plugin\SingletonPluginBase;
abstract class PropertyAdminDigitBase extends SingletonPluginBase implements PropertyAdminInterface {
/**
* {@inheritdoc}
*/
public function validateFormat($value) {
return ctype_digit($value);
}
/**
* {@inheritdoc}
*/
public function getFormElement() {
return array();
}
}
Classes
Name | Description |
---|---|
PropertyAdminDigitBase |