You are here

abstract class CalendarLegend in Content Planner 8

Hierarchy

Expanded class hierarchy of CalendarLegend

File

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

Namespace

Drupal\content_calendar\Component
View source
abstract class CalendarLegend {

  /**
   * @param \Drupal\content_calendar\Entity\ContentTypeConfig[] $content_config_entities
   *
   * @return array
   */
  public static function build(array $content_config_entities) {
    $build = [
      '#theme' => 'content_calendar_legend',
      '#content_type_configs' => $content_config_entities,
    ];
    return $build;
  }

}

Members