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 | |
$data = array( | |
'row1' => array( | |
'col1' => 'value1', | |
'col2' => 'value2', | |
'col3' => 'value3', | |
'col4' => 'value4', | |
), | |
'row2' => array( | |
'col1' => 'value1', |
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 | |
namespace Drupal\playground\Form; | |
use Drupal\Core\Datetime\DrupalDateTime; | |
use Drupal\Core\Form\FormBase; | |
use Drupal\Core\Form\FormStateInterface; |
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 | |
$render = $this->getMock('\Drupal\Core\Render\RendererInterface'); | |
$render->expects($this->any()) | |
->method('render') | |
->will($this->returnValue($output)); | |
$container = new ContainerBuilder(); | |
$container->set('render', $render); | |
\Drupal::setContainer($container); |
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
diff --git a/core/modules/config/src/Tests/ConfigSchemaTest.php b/core/modules/config/src/Tests/ConfigSchemaTest.php | |
index d963d45..37adff0 100644 | |
--- a/core/modules/config/src/Tests/ConfigSchemaTest.php | |
+++ b/core/modules/config/src/Tests/ConfigSchemaTest.php | |
@@ -343,6 +343,7 @@ public function testConfigSaveWithSchema() { | |
'float' => '3.14', | |
'null_float' => '', | |
'sequence' => array (1, 0, 1), | |
+ 'sequence_bc' => array(1, 0, 1), | |
// Not in schema and therefore should be left untouched. |
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" version="XHTML+RDFa 1.0" dir="ltr"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<meta http-equiv="Content-Style-Type" content="text/css" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<meta content="Royal Mail; First World War; Post Office Rifles regiment " name="keywords" /> | |
<link rel="shortcut icon" href="//wwwvagrant.royalmailgroup.com/sites/default/files/rmgicon_0.ico" type="image/vnd.microsoft.icon" /> |
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
Array | |
( | |
[0] => stdClass Object | |
( | |
[node_title] => Dog | |
[nid] => 16 | |
[field_collection_item_field_data_field_date_fc_item_id] => 2 | |
[node_created] => 1419093001 | |
[field_data_field_date_field_collection_item_entity_type] => field_collection_item | |
[_field_data] => Array |
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
diff --git a/config/schema/page_manager.schema.yml b/config/schema/page_manager.schema.yml | |
index 17c5902..5f8d5f2 100644 | |
--- a/config/schema/page_manager.schema.yml | |
+++ b/config/schema/page_manager.schema.yml | |
@@ -43,7 +43,7 @@ page_manager.page.*: | |
label: 'Dependencies' | |
page_manager.block_plugin.*: | |
- type: block.settings.[id] | |
+ type: block.settings.system_menu_block:* |
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
[0] => contextual_links | |
[1] => contextual_links_placeholder | |
[2] => field_ui_table | |
[3] => managed_file | |
[4] => processed_text | |
[5] => text_format | |
[6] => toolbar | |
[7] => toolbar_item | |
[8] => view | |
[9] => datelist |
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
diff --git a/core/modules/update/src/UpdateManager.php b/core/modules/update/src/UpdateManager.php | |
index 21cfe80..833b8e5 100644 | |
--- a/core/modules/update/src/UpdateManager.php | |
+++ b/core/modules/update/src/UpdateManager.php | |
@@ -13,6 +13,7 @@ | |
use Drupal\Core\StringTranslation\TranslationInterface; | |
use Drupal\Core\StringTranslation\StringTranslationTrait; | |
use Drupal\Core\Utility\ProjectInfo; | |
+use Drupal\Core\Extension\ThemeHandler; | |
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
# settings => array('comment' => true, 'node' => true, 'file' => true, 'taxonomy_term' => true, 'user' => true) | |
settings: | |
type: sequence | |
label: 'Settings' | |
sequence: | |
- type: boolean | |
label: 'Enabled' | |