diff --git a/core/includes/common.inc b/core/includes/common.inc
index ace37c830f0..a60ff1c0fe3 100644
--- a/core/includes/common.inc
+++ b/core/includes/common.inc
@@ -287,7 +287,7 @@ function _drupal_default_html_head() {
/**
* Retrieves output to be displayed in the HEAD tag of the HTML page.
- */
+ */
function drupal_get_html_head() {
$elements = drupal_add_html_head();
\Drupal::moduleHandler()->alter('html_head', $elements);
diff --git a/core/includes/install.inc b/core/includes/install.inc
index ac6e00e2601..5d69e9cee78 100644
--- a/core/includes/install.inc
+++ b/core/includes/install.inc
@@ -1,6 +1,6 @@
moduleHandler = $module_handler;
}
diff --git a/core/lib/Drupal/Core/Menu/LocalActionInterface.php b/core/lib/Drupal/Core/Menu/LocalActionInterface.php
index 152b3c62da0..2595816237c 100644
--- a/core/lib/Drupal/Core/Menu/LocalActionInterface.php
+++ b/core/lib/Drupal/Core/Menu/LocalActionInterface.php
@@ -35,12 +35,12 @@ interface LocalActionInterface {
*/
public function getRouteParameters(Request $request);
- /**
- * Returns the weight for the local action.
- *
- * @return int
- */
- public function getWeight();
+ /**
+ * Returns the weight for the local action.
+ *
+ * @return int
+ */
+ public function getWeight();
/**
* Returns options for rendering a link for the local action.
diff --git a/core/lib/Drupal/Core/Plugin/Discovery/AlterDecorator.php b/core/lib/Drupal/Core/Plugin/Discovery/AlterDecorator.php
index c81894e3849..05388b8b47e 100644
--- a/core/lib/Drupal/Core/Plugin/Discovery/AlterDecorator.php
+++ b/core/lib/Drupal/Core/Plugin/Discovery/AlterDecorator.php
@@ -3,7 +3,7 @@
/**
* @file
* Definition of Drupal\Core\Plugin\Discovery\AlterDiscoveryDecorator.
-*/
+ */
namespace Drupal\Core\Plugin\Discovery;
diff --git a/core/lib/Drupal/Core/TypedData/TranslatableInterface.php b/core/lib/Drupal/Core/TypedData/TranslatableInterface.php
index af66bfee39c..8632edb73a9 100644
--- a/core/lib/Drupal/Core/TypedData/TranslatableInterface.php
+++ b/core/lib/Drupal/Core/TypedData/TranslatableInterface.php
@@ -66,7 +66,7 @@ interface TranslatableInterface {
*
* @return bool
* TRUE if the translation exists, FALSE otherwise.
- */
+ */
public function hasTranslation($langcode);
/**
diff --git a/core/modules/basic_auth/basic_auth.module b/core/modules/basic_auth/basic_auth.module
index bec5090d265..c7e0221daa3 100644
--- a/core/modules/basic_auth/basic_auth.module
+++ b/core/modules/basic_auth/basic_auth.module
@@ -5,7 +5,7 @@
* Provides an HTTP Basic authentication provider.
*/
- /**
+/**
* Implements hook_help().
*/
function basic_auth_help($path, $arg) {
diff --git a/core/modules/config_translation/lib/Drupal/config_translation/Controller/ConfigTranslationController.php b/core/modules/config_translation/lib/Drupal/config_translation/Controller/ConfigTranslationController.php
index 0235678cb10..827b99ee7c9 100644
--- a/core/modules/config_translation/lib/Drupal/config_translation/Controller/ConfigTranslationController.php
+++ b/core/modules/config_translation/lib/Drupal/config_translation/Controller/ConfigTranslationController.php
@@ -40,7 +40,7 @@ class ConfigTranslationController extends ControllerBase {
*/
protected $accessManager;
- /**
+ /**
* The dynamic router service.
*
* @var \Symfony\Component\Routing\Matcher\RequestMatcherInterface
diff --git a/core/modules/config_translation/templates/config_translation_manage_form_element.html.twig b/core/modules/config_translation/templates/config_translation_manage_form_element.html.twig
index 6bbee3df14b..d20d19cbb7f 100644
--- a/core/modules/config_translation/templates/config_translation_manage_form_element.html.twig
+++ b/core/modules/config_translation/templates/config_translation_manage_form_element.html.twig
@@ -1,18 +1,18 @@
{#
/**
-* @file
-* Default theme implementation for a form element in config_translation.
-*
-* Available variables:
-* - element: Array that represents the element shown in the form.
-* - source: The source of the translation.
-* - translation: The translation for the target language.
-*
-* @see template_preprocess()
-* @see template_preprocess_config_translation_manage_form_element()
-*
-* @ingroup themeable
-*/
+ * @file
+ * Default theme implementation for a form element in config_translation.
+ *
+ * Available variables:
+ * - element: Array that represents the element shown in the form.
+ * - source: The source of the translation.
+ * - translation: The translation for the target language.
+ *
+ * @see template_preprocess()
+ * @see template_preprocess_config_translation_manage_form_element()
+ *
+ * @ingroup themeable
+ */
#}
diff --git a/core/modules/contact/lib/Drupal/contact/Tests/ContactSitewideTest.php b/core/modules/contact/lib/Drupal/contact/Tests/ContactSitewideTest.php
index 3183f91e1e3..781367856f5 100644
--- a/core/modules/contact/lib/Drupal/contact/Tests/ContactSitewideTest.php
+++ b/core/modules/contact/lib/Drupal/contact/Tests/ContactSitewideTest.php
@@ -279,8 +279,8 @@ class ContactSitewideTest extends WebTestBase {
}
/**
- * Tests auto-reply on the site-wide contact form.
- */
+ * Tests auto-reply on the site-wide contact form.
+ */
function testAutoReply() {
// Create and login administrative user.
$admin_user = $this->drupalCreateUser(array('access site-wide contact form', 'administer contact forms', 'administer permissions', 'administer users'));
diff --git a/core/modules/file/lib/Drupal/file/Tests/FilePrivateTest.php b/core/modules/file/lib/Drupal/file/Tests/FilePrivateTest.php
index e51ba648645..afb01140968 100644
--- a/core/modules/file/lib/Drupal/file/Tests/FilePrivateTest.php
+++ b/core/modules/file/lib/Drupal/file/Tests/FilePrivateTest.php
@@ -15,10 +15,10 @@ use Drupal\Core\Language\Language;
class FilePrivateTest extends FileFieldTestBase {
/**
- * Modules to enable.
- *
- * @var array
- */
+ * Modules to enable.
+ *
+ * @var array
+ */
public static $modules = array('node_access_test', 'field_test');
public static function getInfo() {
diff --git a/core/modules/image/image.api.php b/core/modules/image/image.api.php
index 8e2d31d4743..cb56a764492 100644
--- a/core/modules/image/image.api.php
+++ b/core/modules/image/image.api.php
@@ -38,6 +38,6 @@ function hook_image_style_flush($style) {
\Drupal::cache('mymodule')->deleteAll();
}
- /**
- * @} End of "addtogroup hooks".
- */
+/**
+ * @} End of "addtogroup hooks".
+ */
diff --git a/core/modules/locale/lib/Drupal/locale/TranslationString.php b/core/modules/locale/lib/Drupal/locale/TranslationString.php
index eabedd9d492..6d0ac0543c8 100644
--- a/core/modules/locale/lib/Drupal/locale/TranslationString.php
+++ b/core/modules/locale/lib/Drupal/locale/TranslationString.php
@@ -80,7 +80,7 @@ class TranslationString extends StringBase {
/**
* Implements Drupal\locale\StringInterface::isTranslation().
- */
+ */
public function isTranslation() {
return !empty($this->lid) && !empty($this->language) && isset($this->translation);
}
diff --git a/core/modules/locale/locale.batch.inc b/core/modules/locale/locale.batch.inc
index 6dfcae6364b..4e56890875d 100644
--- a/core/modules/locale/locale.batch.inc
+++ b/core/modules/locale/locale.batch.inc
@@ -32,7 +32,7 @@ require_once __DIR__ . '/locale.translation.inc';
* Optional, defaults to TRUE.
* @param array $context
* The batch context.
-*/
+ */
function locale_translation_batch_status_check($project, $langcode, $options = array(), &$context) {
$failure = $checked = FALSE;
$options += array(
diff --git a/core/modules/node/lib/Drupal/node/Plugin/views/field/Type.php b/core/modules/node/lib/Drupal/node/Plugin/views/field/Type.php
index f3b756748d1..9e1be577b68 100644
--- a/core/modules/node/lib/Drupal/node/Plugin/views/field/Type.php
+++ b/core/modules/node/lib/Drupal/node/Plugin/views/field/Type.php
@@ -41,8 +41,8 @@ class Type extends Node {
}
/**
- * Render node type as human readable name, unless using machine_name option.
- */
+ * Render node type as human readable name, unless using machine_name option.
+ */
function render_name($data, $values) {
if ($this->options['machine_name'] != 1 && $data !== NULL && $data !== '') {
$type = entity_load('node_type', $data);
diff --git a/core/modules/node/lib/Drupal/node/Tests/NodeBuildContentTest.php b/core/modules/node/lib/Drupal/node/Tests/NodeBuildContentTest.php
index 17833d912ed..c2e8eba6433 100644
--- a/core/modules/node/lib/Drupal/node/Tests/NodeBuildContentTest.php
+++ b/core/modules/node/lib/Drupal/node/Tests/NodeBuildContentTest.php
@@ -20,9 +20,9 @@ class NodeBuildContentTest extends NodeTestBase {
);
}
- /**
- * Ensures that content array is rebuilt on every call to node_build_content().
- */
+ /**
+ * Ensures that content array is rebuilt on every call to node_build_content().
+ */
function testNodeRebuildContent() {
$node = $this->drupalCreateNode();
diff --git a/core/modules/options/lib/Drupal/options/Tests/OptionsWidgetsTest.php b/core/modules/options/lib/Drupal/options/Tests/OptionsWidgetsTest.php
index 4dd4dc5ad20..53067a76bc2 100644
--- a/core/modules/options/lib/Drupal/options/Tests/OptionsWidgetsTest.php
+++ b/core/modules/options/lib/Drupal/options/Tests/OptionsWidgetsTest.php
@@ -21,7 +21,7 @@ class OptionsWidgetsTest extends FieldTestBase {
*/
public static $modules = array('node', 'options', 'entity_test', 'options_test', 'taxonomy', 'field_ui');
- /**
+ /**
* A field with cardinality 1 to use in this test class.
*
* @var \Drupal\field\Entity\FieldConfig
diff --git a/core/modules/quickedit/lib/Drupal/quickedit/MetadataGenerator.php b/core/modules/quickedit/lib/Drupal/quickedit/MetadataGenerator.php
index 3b73ca35056..1ae7975b50e 100644
--- a/core/modules/quickedit/lib/Drupal/quickedit/MetadataGenerator.php
+++ b/core/modules/quickedit/lib/Drupal/quickedit/MetadataGenerator.php
@@ -19,7 +19,7 @@ use Drupal\entity\Entity\EntityViewDisplay;
*/
class MetadataGenerator implements MetadataGeneratorInterface {
- /**
+ /**
* An object that checks if a user has access to edit a given entity field.
*
* @var \Drupal\quickedit\Access\EditEntityFieldAccessCheckInterface
diff --git a/core/modules/rdf/lib/Drupal/rdf/Tests/Field/TextFieldRdfaTest.php b/core/modules/rdf/lib/Drupal/rdf/Tests/Field/TextFieldRdfaTest.php
index f1af76775e8..db739775b27 100644
--- a/core/modules/rdf/lib/Drupal/rdf/Tests/Field/TextFieldRdfaTest.php
+++ b/core/modules/rdf/lib/Drupal/rdf/Tests/Field/TextFieldRdfaTest.php
@@ -33,8 +33,8 @@ class TextFieldRdfaTest extends FieldRdfaTestBase {
protected $testSummary = 'test_summary_value';
/**
- * {@inheritdoc}
- */
+ * {@inheritdoc}
+ */
public static $modules = array('text');
public static function getInfo() {
diff --git a/core/modules/shortcut/src/ShortcutInterface.php b/core/modules/shortcut/src/ShortcutInterface.php
index 9a6bb98ec36..6dc0be2fba0 100644
--- a/core/modules/shortcut/src/ShortcutInterface.php
+++ b/core/modules/shortcut/src/ShortcutInterface.php
@@ -87,7 +87,7 @@ interface ShortcutInterface extends ContentEntityInterface {
*
* @return \Drupal\shortcut\ShortcutInterface
* The called shortcut entity.
- */
+ */
public function setRouteParams($route_parameters);
}
diff --git a/core/modules/shortcut/src/ShortcutSetAccessController.php b/core/modules/shortcut/src/ShortcutSetAccessController.php
index c60d52a7afe..fd8d1b97f11 100644
--- a/core/modules/shortcut/src/ShortcutSetAccessController.php
+++ b/core/modules/shortcut/src/ShortcutSetAccessController.php
@@ -41,7 +41,7 @@ class ShortcutSetAccessController extends EntityAccessController {
}
/**
- * {@inheritdoc}
+ * {@inheritdoc}
*/
protected function checkCreateAccess(AccountInterface $account, array $context, $entity_bundle = NULL) {
return $account->hasPermission('administer shortcuts') || $account->hasPermission('customize shortcut links');
diff --git a/core/modules/system/css/system.admin.css b/core/modules/system/css/system.admin.css
index fd0875ea897..40d7d792bc8 100644
--- a/core/modules/system/css/system.admin.css
+++ b/core/modules/system/css/system.admin.css
@@ -285,8 +285,8 @@ table.system-status-report .status-title {
}
/**
-* Theme display without vertical toolbar.
-*/
+ * Theme display without vertical toolbar.
+ */
@media screen and (min-width: 45em) {
body:not(.toolbar-vertical) .system-themes-list-enabled .screenshot,
body:not(.toolbar-vertical) .system-themes-list-enabled .no-screenshot {
@@ -320,8 +320,8 @@ table.system-status-report .status-title {
}
/**
-* Theme display with vertical toolbar.
-*/
+ * Theme display with vertical toolbar.
+ */
@media screen and (min-width: 60em) {
.toolbar-vertical .system-themes-list-enabled .screenshot,
.toolbar-vertical .system-themes-list-enabled .no-screenshot {
diff --git a/core/modules/system/css/system.theme.css b/core/modules/system/css/system.theme.css
index 3f31462c3b4..b8678a35a8a 100644
--- a/core/modules/system/css/system.theme.css
+++ b/core/modules/system/css/system.theme.css
@@ -266,7 +266,7 @@ body div.tabledrag-changed-warning {
* TableSelect behavior.
*
* @see tableselect.js
-*/
+ */
tr.selected td {
background: #ffc;
}
diff --git a/core/modules/system/lib/Drupal/system/Tests/Entity/EntityApiTest.php b/core/modules/system/lib/Drupal/system/Tests/Entity/EntityApiTest.php
index a9f01055683..490750e72de 100644
--- a/core/modules/system/lib/Drupal/system/Tests/Entity/EntityApiTest.php
+++ b/core/modules/system/lib/Drupal/system/Tests/Entity/EntityApiTest.php
@@ -103,51 +103,51 @@ class EntityApiTest extends EntityUnitTestBase {
}
}
- /**
- * Tests that exceptions are properly thrown when saving or deleting an
- * entity.
- */
- public function testEntityStorageExceptionHandling() {
- $entity = entity_create('entity_test', array('name' => 'test'));
- try {
- $GLOBALS['entity_test_throw_exception'] = TRUE;
- $entity->save();
- $this->fail('Entity presave EntityStorageException thrown but not caught.');
- }
- catch (EntityStorageException $e) {
- $this->assertEqual($e->getcode(), 1, 'Entity presave EntityStorageException caught.');
- }
+ /**
+ * Tests that exceptions are properly thrown when saving or deleting an
+ * entity.
+ */
+ public function testEntityStorageExceptionHandling() {
+ $entity = entity_create('entity_test', array('name' => 'test'));
+ try {
+ $GLOBALS['entity_test_throw_exception'] = TRUE;
+ $entity->save();
+ $this->fail('Entity presave EntityStorageException thrown but not caught.');
+ }
+ catch (EntityStorageException $e) {
+ $this->assertEqual($e->getcode(), 1, 'Entity presave EntityStorageException caught.');
+ }
- $entity = entity_create('entity_test', array('name' => 'test2'));
- try {
- unset($GLOBALS['entity_test_throw_exception']);
- $entity->save();
- $this->pass('Exception presave not thrown and not caught.');
- }
- catch (EntityStorageException $e) {
- $this->assertNotEqual($e->getCode(), 1, 'Entity presave EntityStorageException caught.');
- }
+ $entity = entity_create('entity_test', array('name' => 'test2'));
+ try {
+ unset($GLOBALS['entity_test_throw_exception']);
+ $entity->save();
+ $this->pass('Exception presave not thrown and not caught.');
+ }
+ catch (EntityStorageException $e) {
+ $this->assertNotEqual($e->getCode(), 1, 'Entity presave EntityStorageException caught.');
+ }
- $entity = entity_create('entity_test', array('name' => 'test3'));
- $entity->save();
- try {
- $GLOBALS['entity_test_throw_exception'] = TRUE;
- $entity->delete();
- $this->fail('Entity predelete EntityStorageException not thrown.');
- }
- catch (EntityStorageException $e) {
- $this->assertEqual($e->getCode(), 2, 'Entity predelete EntityStorageException caught.');
- }
+ $entity = entity_create('entity_test', array('name' => 'test3'));
+ $entity->save();
+ try {
+ $GLOBALS['entity_test_throw_exception'] = TRUE;
+ $entity->delete();
+ $this->fail('Entity predelete EntityStorageException not thrown.');
+ }
+ catch (EntityStorageException $e) {
+ $this->assertEqual($e->getCode(), 2, 'Entity predelete EntityStorageException caught.');
+ }
- unset($GLOBALS['entity_test_throw_exception']);
- $entity = entity_create('entity_test', array('name' => 'test4'));
- $entity->save();
- try {
- $entity->delete();
- $this->pass('Entity predelete EntityStorageException not thrown and not caught.');
- }
- catch (EntityStorageException $e) {
- $this->assertNotEqual($e->getCode(), 2, 'Entity predelete EntityStorageException thrown.');
- }
- }
+ unset($GLOBALS['entity_test_throw_exception']);
+ $entity = entity_create('entity_test', array('name' => 'test4'));
+ $entity->save();
+ try {
+ $entity->delete();
+ $this->pass('Entity predelete EntityStorageException not thrown and not caught.');
+ }
+ catch (EntityStorageException $e) {
+ $this->assertNotEqual($e->getCode(), 2, 'Entity predelete EntityStorageException thrown.');
+ }
+ }
}
diff --git a/core/modules/system/lib/Drupal/system/Tests/Form/ValidationTest.php b/core/modules/system/lib/Drupal/system/Tests/Form/ValidationTest.php
index 43f1c88353f..8bfb15f8ce4 100644
--- a/core/modules/system/lib/Drupal/system/Tests/Form/ValidationTest.php
+++ b/core/modules/system/lib/Drupal/system/Tests/Form/ValidationTest.php
@@ -200,7 +200,7 @@ class ValidationTest extends WebTestBase {
$this->assertNoRaw(t('%name field is not in the right format.', array('%name' => 'Client side validation')));
}
- /**
+ /**
* Tests #required with custom validation errors.
*
* @see form_test_validate_required_form()
diff --git a/core/modules/system/system.module b/core/modules/system/system.module
index 50cd7966997..bcec5f42e53 100644
--- a/core/modules/system/system.module
+++ b/core/modules/system/system.module
@@ -29,7 +29,7 @@ const DRUPAL_USER_TIMEZONE_EMPTY = 1;
*/
const DRUPAL_USER_TIMEZONE_SELECT = 2;
- /**
+/**
* Disabled option on forms and settings
*/
const DRUPAL_DISABLED = 0;
diff --git a/core/modules/taxonomy/taxonomy.module b/core/modules/taxonomy/taxonomy.module
index f1db93f648d..69bb5307540 100644
--- a/core/modules/taxonomy/taxonomy.module
+++ b/core/modules/taxonomy/taxonomy.module
@@ -263,7 +263,7 @@ function taxonomy_term_view(Term $term, $view_mode = 'full', $langcode = NULL) {
return entity_view($term, $view_mode, $langcode);
}
- /**
+/**
* Constructs a drupal_render() style array from an array of loaded terms.
*
* @param array $terms
diff --git a/core/modules/user/css/user.module.css b/core/modules/user/css/user.module.css
index 6d2c51e42eb..4a566c69703 100644
--- a/core/modules/user/css/user.module.css
+++ b/core/modules/user/css/user.module.css
@@ -86,7 +86,7 @@ div.password-suggestions ul {
clear: right;
}
- /**
+/**
* Password strength indicator on narrow viewport.
*/
@media screen and (max-width: 600px) {
diff --git a/core/modules/user/lib/Drupal/user/Tests/UserPasswordResetTest.php b/core/modules/user/lib/Drupal/user/Tests/UserPasswordResetTest.php
index 8b4da13e7d7..bda0d9764b4 100644
--- a/core/modules/user/lib/Drupal/user/Tests/UserPasswordResetTest.php
+++ b/core/modules/user/lib/Drupal/user/Tests/UserPasswordResetTest.php
@@ -127,9 +127,9 @@ class UserPasswordResetTest extends WebTestBase {
return $urls[0];
}
- /**
- * Prefill the text box on incorrect login via link to password reset page.
- */
+ /**
+ * Prefill the text box on incorrect login via link to password reset page.
+ */
public function testUserResetPasswordTextboxFilled() {
$this->drupalGet('user/login');
$edit = array(
diff --git a/core/modules/user/lib/Drupal/user/Tests/UserValidationTest.php b/core/modules/user/lib/Drupal/user/Tests/UserValidationTest.php
index 7beec6a71ec..499877e409c 100644
--- a/core/modules/user/lib/Drupal/user/Tests/UserValidationTest.php
+++ b/core/modules/user/lib/Drupal/user/Tests/UserValidationTest.php
@@ -162,7 +162,7 @@ class UserValidationTest extends DrupalUnitTestBase {
* The field that violates the maximum length.
* @param int $length
* Number of characters that was exceeded.
- */
+ */
protected function assertLengthViolation(EntityInterface $entity, $field_name, $length) {
$violations = $entity->validate();
$this->assertEqual(count($violations), 1, "Violation found when $field_name is too long.");
diff --git a/core/modules/user/user.module b/core/modules/user/user.module
index 9dd87e8f93f..e937d269a07 100644
--- a/core/modules/user/user.module
+++ b/core/modules/user/user.module
@@ -828,7 +828,7 @@ function user_pass_reset_url($account, $options = array()) {
* @param array $options
* (optional) A keyed array of settings. Supported options are:
* - langcode: A language code to be used when generating locale-sensitive
- * URLs. If langcode is NULL the users preferred language is used.
+ * URLs. If langcode is NULL the users preferred language is used.
*
* @return
* A unique URL that may be used to confirm the cancellation of the user
diff --git a/core/modules/views/lib/Drupal/views/Plugin/ViewsHandlerManager.php b/core/modules/views/lib/Drupal/views/Plugin/ViewsHandlerManager.php
index dae3026e6cc..3e6ec0522ca 100644
--- a/core/modules/views/lib/Drupal/views/Plugin/ViewsHandlerManager.php
+++ b/core/modules/views/lib/Drupal/views/Plugin/ViewsHandlerManager.php
@@ -45,7 +45,7 @@ class ViewsHandlerManager extends DefaultPluginManager {
* An object that implements \Traversable which contains the root paths
* keyed by the corresponding namespace to look for plugin implementations,
* @param \Drupal\views\ViewsData $views_data
- * The views data cache.
+ * The views data cache.
* @param \Drupal\Core\Cache\CacheBackendInterface $cache_backend
* Cache backend instance to use.
* @param \Drupal\Core\Language\LanguageManagerInterface $language_manager
diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/PluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/PluginBase.php
index f25e2d0c04d..086160dbeee 100644
--- a/core/modules/views/lib/Drupal/views/Plugin/views/PluginBase.php
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/PluginBase.php
@@ -72,7 +72,7 @@ abstract class PluginBase extends ComponentPluginBase implements ContainerFactor
*/
public $definition;
- /**
+ /**
* Denotes whether the plugin has an additional options form.
*
* @var bool
diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/area/View.php b/core/modules/views/lib/Drupal/views/Plugin/views/area/View.php
index a813ebaef3d..a0ec5089162 100644
--- a/core/modules/views/lib/Drupal/views/Plugin/views/area/View.php
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/area/View.php
@@ -28,10 +28,10 @@ class View extends AreaPluginBase {
protected $isEmpty;
/**
- * The view storage.
- *
- * @var \Drupal\Core\Entity\EntityStorageInterface
- */
+ * The view storage.
+ *
+ * @var \Drupal\Core\Entity\EntityStorageInterface
+ */
protected $viewStorage;
/**
diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/cache/CachePluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/cache/CachePluginBase.php
index 9363e85e252..4f2503c33f5 100644
--- a/core/modules/views/lib/Drupal/views/Plugin/views/cache/CachePluginBase.php
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/cache/CachePluginBase.php
@@ -105,15 +105,15 @@ abstract class CachePluginBase extends PluginBase {
protected function cacheExpire($type) {
}
- /**
- * Determine expiration time in the cache table of the cache type
- * or CACHE_PERMANENT if item shouldn't be removed automatically from cache.
- *
- * Plugins must override this to implement expiration in the cache table.
- *
- * @param $type
- * The cache type, either 'query', 'result' or 'output'.
- */
+ /**
+ * Determine expiration time in the cache table of the cache type
+ * or CACHE_PERMANENT if item shouldn't be removed automatically from cache.
+ *
+ * Plugins must override this to implement expiration in the cache table.
+ *
+ * @param $type
+ * The cache type, either 'query', 'result' or 'output'.
+ */
protected function cacheSetExpire($type) {
return Cache::PERMANENT;
}
diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php
index 93b753917e1..750546fe164 100644
--- a/core/modules/views/lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php
@@ -2346,33 +2346,33 @@ abstract class DisplayPluginBase extends PluginBase {
return TRUE;
}
- /**
- * Is the output of the view empty.
- *
- * If a view has no result and neither the empty, nor the footer nor the header
- * does show anything return FALSE.
- *
- * @return bool
- * Returns TRUE if the output is empty, else FALSE.
- */
- public function outputIsEmpty() {
- if (!empty($this->view->result)) {
- return FALSE;
- }
+ /**
+ * Is the output of the view empty.
+ *
+ * If a view has no result and neither the empty, nor the footer nor the header
+ * does show anything return FALSE.
+ *
+ * @return bool
+ * Returns TRUE if the output is empty, else FALSE.
+ */
+ public function outputIsEmpty() {
+ if (!empty($this->view->result)) {
+ return FALSE;
+ }
- // Check whether all of the area handlers are empty.
- foreach (array('empty', 'footer', 'header') as $type) {
- $handlers = $this->getHandlers($type);
- foreach ($handlers as $handler) {
- // If one is not empty, return FALSE now.
- if (!$handler->isEmpty()) {
- return FALSE;
- }
- }
- }
+ // Check whether all of the area handlers are empty.
+ foreach (array('empty', 'footer', 'header') as $type) {
+ $handlers = $this->getHandlers($type);
+ foreach ($handlers as $handler) {
+ // If one is not empty, return FALSE now.
+ if (!$handler->isEmpty()) {
+ return FALSE;
+ }
+ }
+ }
- return TRUE;
- }
+ return TRUE;
+ }
/**
* Provide the block system with any exposed widget blocks for this display.
diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/exposed_form/ExposedFormPluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/exposed_form/ExposedFormPluginBase.php
index 28c55cfdb35..82e4184682d 100644
--- a/core/modules/views/lib/Drupal/views/Plugin/views/exposed_form/ExposedFormPluginBase.php
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/exposed_form/ExposedFormPluginBase.php
@@ -273,16 +273,16 @@ abstract class ExposedFormPluginBase extends PluginBase {
}
/**
- * This function is executed when exposed form is submited.
- *
- * @param $form
- * Nested array of form elements that comprise the form.
- * @param $form_state
- * A keyed array containing the current state of the form.
- * @param $exclude
- * Nested array of keys to exclude of insert into
- * $view->exposed_raw_input
- */
+ * This function is executed when exposed form is submited.
+ *
+ * @param $form
+ * Nested array of form elements that comprise the form.
+ * @param $form_state
+ * A keyed array containing the current state of the form.
+ * @param $exclude
+ * Nested array of keys to exclude of insert into
+ * $view->exposed_raw_input
+ */
public function exposedFormSubmit(&$form, &$form_state, &$exclude) {
if (!empty($form_state['values']['op']) && $form_state['values']['op'] == $this->options['reset_button_label']) {
$this->resetForm($form, $form_state);
diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/filter/FilterPluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/filter/FilterPluginBase.php
index 51c21f28012..902b5438a22 100644
--- a/core/modules/views/lib/Drupal/views/Plugin/views/filter/FilterPluginBase.php
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/filter/FilterPluginBase.php
@@ -619,7 +619,7 @@ abstract class FilterPluginBase extends HandlerBase {
}
}
- /**
+ /**
* Validate the build group options form.
*/
protected function buildGroupValidate($form, &$form_state) {
@@ -714,7 +714,7 @@ abstract class FilterPluginBase extends HandlerBase {
);
}
- /**
+ /**
* Provide default options for exposed filters.
*/
protected function buildGroupOptions() {
diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php
index 0426e6863c6..ee71ed03bff 100644
--- a/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php
@@ -71,13 +71,13 @@ abstract class StylePluginBase extends PluginBase {
protected $usesFields = FALSE;
/**
- * Stores the rendered field values, keyed by the row index and field name.
- *
- * @see \Drupal\views\Plugin\views\style\StylePluginBase::renderFields()
- * @see \Drupal\views\Plugin\views\style\StylePluginBase::getField()
- *
- * @var array|null
- */
+ * Stores the rendered field values, keyed by the row index and field name.
+ *
+ * @see \Drupal\views\Plugin\views\style\StylePluginBase::renderFields()
+ * @see \Drupal\views\Plugin\views\style\StylePluginBase::getField()
+ *
+ * @var array|null
+ */
protected $rendered_fields;
/**
@@ -661,13 +661,13 @@ abstract class StylePluginBase extends PluginBase {
}
/**
- * Get the raw field value.
- *
- * @param $index
- * The index count of the row.
- * @param $field
- * The id of the field.
- */
+ * Get the raw field value.
+ *
+ * @param $index
+ * The index count of the row.
+ * @param $field
+ * The id of the field.
+ */
protected function getFieldValue($index, $field) {
$this->view->row_index = $index;
$value = $this->view->field[$field]->getValue($this->view->result[$index]);
diff --git a/core/modules/views/lib/Drupal/views/Tests/Handler/HandlerTest.php b/core/modules/views/lib/Drupal/views/Tests/Handler/HandlerTest.php
index 9a6e56bfda2..14a528649c3 100644
--- a/core/modules/views/lib/Drupal/views/Tests/Handler/HandlerTest.php
+++ b/core/modules/views/lib/Drupal/views/Tests/Handler/HandlerTest.php
@@ -189,7 +189,7 @@ class HandlerTest extends ViewTestBase {
$this->assertEqual('and', $handler->operator);
}
- /**
+ /**
* Tests the order of handlers is the same before and after saving.
*/
public function testHandlerWeights() {
diff --git a/core/modules/views/lib/Drupal/views/ViewExecutable.php b/core/modules/views/lib/Drupal/views/ViewExecutable.php
index 4883932b3c0..5eb82a63c47 100644
--- a/core/modules/views/lib/Drupal/views/ViewExecutable.php
+++ b/core/modules/views/lib/Drupal/views/ViewExecutable.php
@@ -230,7 +230,7 @@ class ViewExecutable extends DependencySerialization {
*/
public $row_index;
- /**
+ /**
* Allow to override the url of the current view.
*
* @var string
diff --git a/core/modules/views/views.theme.inc b/core/modules/views/views.theme.inc
index d01235d2492..7308da838ea 100644
--- a/core/modules/views/views.theme.inc
+++ b/core/modules/views/views.theme.inc
@@ -275,19 +275,19 @@ function template_preprocess_views_view_fields(&$variables) {
}
/**
-* Returns HTML for multiple views fields.
-*
-* @param $variables
-* An associative array containing:
-* - fields: An array of field objects. Each field object contains:
-* - separator: A string that separates the fields.
-* - wrapper_suffix: A string added to the beginning of the fields.
-* - label_html: An HTML string that labels the fields.
-* - content: The fields.
-* - wrapper_suffix: A string added to the end of the fields.
-*
-* @see template_preprocess_views_view_fields()
-*/
+ * Returns HTML for multiple views fields.
+ *
+ * @param $variables
+ * An associative array containing:
+ * - fields: An array of field objects. Each field object contains:
+ * - separator: A string that separates the fields.
+ * - wrapper_suffix: A string added to the beginning of the fields.
+ * - label_html: An HTML string that labels the fields.
+ * - content: The fields.
+ * - wrapper_suffix: A string added to the end of the fields.
+ *
+ * @see template_preprocess_views_view_fields()
+ */
function theme_views_view_fields($variables) {
$fields = $variables['fields'];
$output = '';
@@ -320,7 +320,7 @@ function theme_views_view_fields($variables) {
* grouping.
* - content: The content to be grouped.
* - title: The group heading.
- */
+ */
function template_preprocess_views_view_grouping(&$variables) {
$variables['content'] = $variables['view']->style_plugin->renderGroupingSets($variables['rows'], $variables['grouping_level']);
}
diff --git a/core/modules/views_ui/css/views_ui.admin.theme.css b/core/modules/views_ui/css/views_ui.admin.theme.css
index e6f0614b376..08bfd808e29 100644
--- a/core/modules/views_ui/css/views_ui.admin.theme.css
+++ b/core/modules/views_ui/css/views_ui.admin.theme.css
@@ -586,7 +586,7 @@ td.group-title {
margin-top: 0;
}
- /* @end */
+/* @end */
/* @group Auto preview
*
diff --git a/core/modules/views_ui/views_ui.theme.inc b/core/modules/views_ui/views_ui.theme.inc
index be0a6a0f3f8..430f14abb20 100644
--- a/core/modules/views_ui/views_ui.theme.inc
+++ b/core/modules/views_ui/views_ui.theme.inc
@@ -352,7 +352,7 @@ function theme_views_ui_rearrange_filter_form(&$variables) {
* @param array $variables
* An associative array containing:
* - form: A render element representing the form.
-*/
+ */
function template_preprocess_views_ui_style_plugin_table(&$variables) {
$form = $variables['form'];
diff --git a/core/themes/bartik/css/style.css b/core/themes/bartik/css/style.css
index 663d60c1fb6..18a2c961ac4 100644
--- a/core/themes/bartik/css/style.css
+++ b/core/themes/bartik/css/style.css
@@ -1764,7 +1764,7 @@ div.admin-panel .description {
/* ----------- media queries ------------------------------- */
@media all and (min-width: 461px) and (max-width: 900px) {
- /* ------------ Header and Menus -------------------------- */
+ /* ------------ Header and Menus -------------------------- */
.region-header {
margin: .5em 5px .75em;