You are here

public function NodeTypeConfigHandler::getUpdateExpiryStart in Node expire 7.2

Returns update expiry start.

File

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

Class

NodeTypeConfigHandler
NodeTypeConfigHandler class.

Namespace

Drupal\node_expire\Module\Config

Code

public function getUpdateExpiryStart() {
  $config = $this
    ->getNodeTypeConfig();
  if (isset($config['update_expiry_start'])) {
    return $config['update_expiry_start'];
  }
  else {
    return 1;
  }
}