You are here

public static function CalendarLegend::build in Content Planner 8

Parameters

\Drupal\content_calendar\Entity\ContentTypeConfig[] $content_config_entities:

Return value

array

File

modules/content_calendar/src/Component/CalendarLegend.php, line 15

Class

CalendarLegend

Namespace

Drupal\content_calendar\Component

Code

public static function build(array $content_config_entities) {
  $build = [
    '#theme' => 'content_calendar_legend',
    '#content_type_configs' => $content_config_entities,
  ];
  return $build;
}