protected function Calendar::getNodeTypeConfig in Content Planner 8
Get Content Type config entity by Node Type.
Parameters
string $node_type: The node type id to get the config.
Return value
bool|\Drupal\content_calendar\Entity\ContentTypeConfig The content type config.
1 call to Calendar::getNodeTypeConfig()
- Calendar::placeNodesInCalendars in modules/
content_calendar/ src/ Component/ Calendar.php - Place Nodes in Calendar.
File
- modules/
content_calendar/ src/ Component/ Calendar.php, line 252
Class
Namespace
Drupal\content_calendar\ComponentCode
protected function getNodeTypeConfig($node_type) {
if (array_key_exists($node_type, $this->contentTypeConfigEntities)) {
return $this->contentTypeConfigEntities[$node_type];
}
return FALSE;
}