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 | |
class ConfigImporter { | |
protected $storage; | |
public function setStorage($storage) { | |
$this->storage = $storage; | |
} | |
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
hook_field_info() Replaced by annotation-based plugin discovery, using the \Drupal\Core\Field\Annotation\FieldType annotation class | |
+ FieldItemInterface::defaultSettings() / FieldItemInterface::defaultInstanceSettings() (static methods) | |
hook_field_schema() FieldItemInterface::schema() (static method) | |
hook_field_settings_form() FieldItemInterface::settingsForm() | |
hook_field_instance_settings_form() FieldItemInterface::instanceSettingsForm() | |
hook_field_is_empty() ComplexDataInterface::isEmpty() | |
hook_field_presave() FieldItemInterface::preSave() | |
hook_field_insert() FieldItemInterface::insert() | |
hook_field_update() FieldItemInterface::update() | |
hook_field_delete() FieldItemInterface::delete() |
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/lib/Drupal/Core/Language/LanguageInterface.php b/core/lib/Drupal/Core/Language/LanguageInterface.php | |
index c3e39a7..ee4f2ba 100644 | |
--- a/core/lib/Drupal/Core/Language/LanguageInterface.php | |
+++ b/core/lib/Drupal/Core/Language/LanguageInterface.php | |
@@ -110,6 +110,14 @@ | |
public function getName(); | |
/** | |
+ * Sets the name of the language. | |
+ * |
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 | |
$lm = new \LanguageManager(); | |
$lm->getLanguages(); | |
Class LanguageManager { | |
protected $language; | |
public function getLanguages() { |
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' | |
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
[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/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
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
<!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" /> |