public function NodeTypesConfigHandler::getNodeTypeConfig in Node expire 7.2
Returns single node type config.
Parameters
string $node_type: Node type.
1 call to NodeTypesConfigHandler::getNodeTypeConfig()
- NodeTypesConfigHandler::getActionType in src/
Module/ Config/ NodeTypesConfigHandler.php - Returns action type.
File
- src/
Module/ Config/ NodeTypesConfigHandler.php, line 52 - NodeTypesConfigHandler class.
Class
- NodeTypesConfigHandler
- NodeTypesConfigHandler class.
Namespace
Drupal\node_expire\Module\ConfigCode
public function getNodeTypeConfig($node_type) {
if (isset($this->nodeTypeConfigs[$node_type]) and $n_type_config = $this->nodeTypeConfigs[$node_type]) {
return $n_type_config;
}
else {
return $this
->getNodeTypeConfigDefault();
}
}