You are here

public static function ConfigHandler::getDateFormat in Node expire 7.2

Returns DateFormat configuration value.

6 calls to ConfigHandler::getDateFormat()
AdminHookHandler::hookAdminSettings in src/Module/Hook/AdminHookHandler.php
Administrative settings.
FormHookHandler::doFormAlter in src/Module/Hook/FormHookHandler.php
Implements hook_form_alter().
NodeHookHandler::doNodeValidate in src/Module/Hook/NodeHookHandler.php
Implements hook_node_validate().
TimestampUtils::dateStrToCfgDefault in src/Module/Utils/TimestampUtils.php
Converts date string to timestamp int.
TimestampUtils::strToTimestamp in src/Module/Utils/TimestampUtils.php
Converts date string to timestamp int.

... See full list

File

src/Module/Config/ConfigHandler.php, line 73
ConfigHandler class.

Class

ConfigHandler
ConfigHandler class.

Namespace

Drupal\node_expire\Module\Config

Code

public static function getDateFormat() {
  $val = variable_get('node_expire_date_format', 'Y-m-d');
  return $val;
}