This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Default horizon date. | |
$horizon_days = 90; | |
if (!empty($wrapper) && is_object($wrapper)) { | |
$horizon_days = $wrapper->getBookingHorizon(); | |
// Check if we have to ask for time | |
if (!$wrapper->isBookableByDay()) { | |
$default_details['ask_time'] = TRUE; | |
} | |
} | |
// Settings for calendar picker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Schema for the configuration files of the Editor module. | |
editor.editor.*: | |
type: mapping | |
label: 'Contact category' | |
mapping: | |
format: | |
type: string | |
label: 'Name' | |
editor: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Schema for configuration files of the Field module. | |
field.settings: | |
type: mapping | |
label: 'Field settings' | |
mapping: | |
purge_batch_size: | |
type: integer | |
label: 'Maximum number of field data records to purge' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
field_instance.text_textarea_with_summary.settings: | |
type: mapping | |
label: 'Text area with a summary' | |
mapping: | |
text_processing: | |
type: string | |
label: 'Text processing' | |
display_summary: | |
type: boolean | |
label: 'Summary input' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Working | |
field.instance.*.*.*: | |
type: mapping | |
label: 'Field instance settings' | |
mapping: | |
default_value: | |
type: field_instance.[%parent.widget.type].default | |
field_instance.text_textarea_with_summary.default: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# field.instance.node.article.body.yml | |
default_value: | |
- | |
summary: '' | |
value: "<p>default 1</p>\r\n" | |
format: basic_html | |
field_type: text_with_summary | |
- | |
summary: '' | |
value: "<p>default 2</p>\r\n" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Submit handler to save config translation. | |
*/ | |
function config_translation_form_submit(&$form, &$form_state) { | |
$form_values = $form_state['values']; | |
$language = $form_values['language']; | |
$group = $form_values['group']; | |
// For the form submission handling, use the override free context. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# main schema | |
views.view: | |
... | |
... | |
... | |
sort: | |
type: views.sort.[%parent.table]_[%parent.field] | |
views.sort.node_status: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<code> | |
+++ b/core/modules/update/lib/Drupal/update/Controller/UpdateFetchController.phpundefined | |
@@ -0,0 +1,103 @@ | |
+ public static function create(ContainerInterface $container) { | |
+ return new static(); | |
</code> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+++ b/core/modules/views/config/schema/views.display.schema.ymlundefined | |
index 0000000..2050a88 | |
--- /dev/null | |
--- /dev/null | |
+++ b/core/modules/views/config/schema/views.empty.schema.ymlundefined | |
+++ b/core/modules/views/config/schema/views.empty.schema.ymlundefined | |
+++ b/core/modules/views/config/schema/views.empty.schema.ymlundefined | |
@@ -0,0 +1,5 @@ |