diff --git a/core/includes/common.inc b/core/includes/common.inc index 6ea9bf9..11f8a9d 100644 --- a/core/includes/common.inc +++ b/core/includes/common.inc @@ -9,22 +9,30 @@ */ use Drupal\Component\Serialization\Json; +use Drupal\Component\Serialization\Yaml; +use Drupal\Component\Serialization\Exception\InvalidDataTypeException; use Drupal\Component\Utility\Bytes; use Drupal\Component\Utility\Crypt; use Drupal\Component\Utility\Html; +use Drupal\Component\Utility\Number; use Drupal\Component\Utility\SafeMarkup; use Drupal\Component\Utility\SortArray; use Drupal\Component\Utility\String; +use Drupal\Component\Utility\Tags; use Drupal\Component\Utility\UrlHelper; use Drupal\Core\Cache\Cache; -use Drupal\Core\PhpStorage\PhpStorageFactory; +use Drupal\Core\Language\LanguageInterface; use Drupal\Core\Site\Settings; use Drupal\Core\Url; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\Request; +use Drupal\Core\PhpStorage\PhpStorageFactory; use Drupal\Component\Utility\NestedArray; +use Drupal\Core\Datetime\DrupalDateTime; +use Drupal\Core\Routing\GeneratorNotInitializedException; use Drupal\Core\Template\Attribute; use Drupal\Core\Render\Element; +use Drupal\Core\Session\AnonymousUserSession; /** * @defgroup php_wrappers PHP wrapper functions diff --git a/core/modules/system/src/Tests/Extension/InfoParserUnitTest.php b/core/modules/system/src/Tests/Extension/InfoParserUnitTest.php index 4669e03..8323a1e 100644 --- a/core/modules/system/src/Tests/Extension/InfoParserUnitTest.php +++ b/core/modules/system/src/Tests/Extension/InfoParserUnitTest.php @@ -81,7 +81,6 @@ public function testInfoParser() { $info_values = $this->infoParser->parse('core/modules/system/tests/fixtures/common_test.info.txt'); $this->assertEqual($info_values['simple_string'], 'A simple string', 'Simple string value was parsed correctly.', 'System'); $this->assertEqual($info_values['version'], \Drupal::VERSION, 'Constant value was parsed correctly.', 'System'); - debug($info_values); $this->assertEqual($info_values['double_colon'], 'dummyClassName::foo', 'Value containing double-colon was parsed correctly.', 'System'); } diff --git a/core/modules/user/config/schema/user.views.schema.yml b/core/modules/user/config/schema/user.views.schema.yml index 6089c6f..e1b83f3 100644 --- a/core/modules/user/config/schema/user.views.schema.yml +++ b/core/modules/user/config/schema/user.views.schema.yml @@ -70,10 +70,6 @@ views_field_user: views.field.user_language: type: views_field_user label: 'User language' - mapping: - link_to_node: - type: boolean - label: 'Link this field to its user' views.field.user_link: type: views_field