public function OptionsFormHelperTrait::isGoogleCalendar in FullCalendar 8.2
Same name and namespace in other branches
- 8.5 src/Plugin/fullcalendar/type/OptionsFormHelperTrait.php \Drupal\fullcalendar\Plugin\fullcalendar\type\OptionsFormHelperTrait::isGoogleCalendar()
- 8.4 src/Plugin/fullcalendar/type/OptionsFormHelperTrait.php \Drupal\fullcalendar\Plugin\fullcalendar\type\OptionsFormHelperTrait::isGoogleCalendar()
Check for valid Google Calendar API settings.
Parameters
$settings:
Return value
bool
File
- src/
Plugin/ fullcalendar/ type/ OptionsFormHelperTrait.php, line 370
Class
Namespace
Drupal\fullcalendar\Plugin\fullcalendar\typeCode
public function isGoogleCalendar($settings) {
return !empty($settings['google']['googleCalendarApiKey']) && !empty($settings['google']['googleCalendarId']);
}