public function DashboardService::isContentCalendarEnabled in Content Planner 8
Check if the Content Calendar is enabled.
Return value
bool TRUE if the content calendar is enabled.
File
- src/
DashboardService.php, line 40
Class
- DashboardService
- Class DashboardService.
Namespace
Drupal\content_plannerCode
public function isContentCalendarEnabled() {
return \Drupal::moduleHandler()
->moduleExists('content_calendar');
}