You are here

public function NodeTypeConfigHandler::getUpdateExpiryInterval in Node expire 7.2

Returns update expiry interval.

File

src/Module/Config/NodeTypeConfigHandler.php, line 94
NodeTypeConfigHandler class.

Class

NodeTypeConfigHandler
NodeTypeConfigHandler class.

Namespace

Drupal\node_expire\Module\Config

Code

public function getUpdateExpiryInterval() {
  $config = $this
    ->getNodeTypeConfig();
  if (isset($config['update_expiry_interval'])) {
    return $config['update_expiry_interval'];
  }
  else {
    return 4;
  }
}