public function CalendarEntry::__construct in Content Planner 8
CalendarEntry constructor.
Parameters
int $month:
int $year:
\Drupal\content_calendar\Entity\ContentTypeConfig $content_type_config:
\stdClass $node:
File
- modules/
content_calendar/ src/ Component/ CalendarEntry.php, line 50
Class
- CalendarEntry
- Class CalendarEntry.
Namespace
Drupal\content_calendar\ComponentCode
public function __construct($month, $year, ContentTypeConfig $content_type_config, \stdClass $node) {
$this->month = $month;
$this->year = $year;
$this->contentTypeConfig = $content_type_config;
$this->node = $node;
$this->config = \Drupal::config(SettingsForm::CONFIG_NAME);
}