You are here

public function DashboardService::isContentKanbanEnabled in Content Planner 8

Check if the Content Kanban is enabled.

Return value

bool TRUE if the kanban calendar is enabled.

File

src/DashboardService.php, line 50

Class

DashboardService
Class DashboardService.

Namespace

Drupal\content_planner

Code

public function isContentKanbanEnabled() {
  return \Drupal::moduleHandler()
    ->moduleExists('content_kanban');
}