You are here

public function KanbanService::contentCalendarModuleIsEnabled in Content Planner 8

Check if the Content Calendar module is enabled.

Return value

bool Returns TRUE if the content_calendar module is enabled, FALSE otherwise.

2 calls to KanbanService::contentCalendarModuleIsEnabled()
KanbanService::getEntitiesByEntityIds in modules/content_kanban/src/KanbanService.php
Gets the entities by Type.
KanbanService::useContentCalendarColors in modules/content_kanban/src/KanbanService.php
Checks if the option to use the Content Calendar colors is active.

File

modules/content_kanban/src/KanbanService.php, line 106

Class

KanbanService
Class KanbanService.

Namespace

Drupal\content_kanban

Code

public function contentCalendarModuleIsEnabled() {
  return $this->moduleHandler
    ->moduleExists('content_planner');
}