You are here

public function NodeTypeConfigHandler::getUpdateExpiryMultiplier in Node expire 7.2

Returns update expiry multiplier.

File

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

Class

NodeTypeConfigHandler
NodeTypeConfigHandler class.

Namespace

Drupal\node_expire\Module\Config

Code

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