Skip to content
Snippets Groups Projects
Commit 78f3b308 authored by Tim Plunkett's avatar Tim Plunkett
Browse files

Issue #1361540 by tim.plunkett: Capitalize Boolean.

parent c674bac2
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ Drupal.fullcalendar.plugins.awesome = {
* @param date
* The JavaScript Date object of where the event was dropped.
* @param allDay
* A boolean of where the event was dropped, TRUE for an all-day cell, or
* A Boolean of where the event was dropped, TRUE for an all-day cell, or
* FALSE for a slot with a specific time.
* @param jsEvent
* The primitive JavaScript event, with information like mouse coordinates.
......
......@@ -65,7 +65,7 @@ function hook_fullcalendar_droppable() {
* Object representing the view.
*
* @return bool
* A boolean value dictating whether of not the calendar is editable.
* A Boolean value dictating whether of not the calendar is editable.
*/
function hook_fullcalendar_editable($entity, $view) {
return _fullcalendar_update_access($entity);
......@@ -75,7 +75,7 @@ function hook_fullcalendar_editable($entity, $view) {
* Allows your module to forcibly override the editability of the calendar.
*
* @param bool $editable
* A boolean value dictating whether of not the calendar is editable.
* A Boolean value dictating whether of not the calendar is editable.
* @param object $entity
* Object representing the entity.
* @param object $view
......@@ -137,7 +137,7 @@ function hook_fullcalendar_options_info() {
* 'contains', which contains an associative array with the following
* key-value pairs:
* - default: The default value for this item.
* - bool: (optional) Whether or not the value is a boolean.
* - bool: (optional) Whether or not the value is a Boolean.
*
* @see views_object::option_definition()
*/
......
......@@ -25,7 +25,7 @@ function fullcalendar_options_fullcalendar_options_definition() {
foreach (_fullcalendar_options_list() as $key => $info) {
$options[$key]['default'] = $info['#default_value'];
// If this is a boolean value, set the 'bool' flag for export.
// If this is a Boolean value, set the 'bool' flag for export.
if (isset($info['#data_type']) && $info['#data_type'] == 'bool') {
$options[$key]['bool'] = TRUE;
}
......
......@@ -297,7 +297,7 @@ function fullcalendar_prepare_events($view, $rows, $options) {
* A numerically indexed array containing these elements:
* - 0: The start date object.
* - 1: The end date object.
* - 2: A boolean representing whether the date is all day.
* - 2: A Boolean representing whether the date is all day.
*/
function _fullcalendar_process_dates($instance, $entity, $field, $item) {
if (isset($item['db']['value'])) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment