diff --git a/.htaccess b/.htaccess index c29b0d5177ed2eb679db2903d84262dcc682c92f..07cf7e45c630b374dafb849cef1140ba75c0efcd 100644 --- a/.htaccess +++ b/.htaccess @@ -97,14 +97,14 @@ AddEncoding gzip svgz # URL, either WITH or WITHOUT the 'www.' prefix. Choose ONLY one option: # # To redirect all users to access the site WITH the 'www.' prefix, - # (http://example.com/... will be redirected to http://www.example.com/...) + # (http://example.com/foo will be redirected to http://www.example.com/foo) # uncomment the following: # RewriteCond %{HTTP_HOST} . # RewriteCond %{HTTP_HOST} !^www\. [NC] # RewriteRule ^ http%{ENV:protossl}://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] # # To redirect all users to access the site WITHOUT the 'www.' prefix, - # (http://www.example.com/... will be redirected to http://example.com/...) + # (http://www.example.com/foo will be redirected to http://example.com/foo) # uncomment the following: # RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] # RewriteRule ^ http%{ENV:protossl}://%1%{REQUEST_URI} [L,R=301] diff --git a/core/CHANGELOG.txt b/core/CHANGELOG.txt index 3420ece0bf91162d90d1ec20efeb9d9fa92ff0c6..e9fec1d7f06b55ea92b5c78c4f0d756f7702380e 100644 --- a/core/CHANGELOG.txt +++ b/core/CHANGELOG.txt @@ -96,7 +96,7 @@ Drupal 8.0, xxxx-xx-xx (development version) * Added language selectors to most configuration options (views, menus, etc.) * Added a configuration translation user interface that works with any - configuration with translatable values (blocks, views, fields, etc). + configuration with translatable values (blocks, views, fields, etc.). * Added language options to block visibility. * Much improved language APIs for developers: * Added simple APIs and hooks to save/delete/update languages. @@ -682,7 +682,7 @@ Drupal 4.7.0, 2006-05-01 - Added support for PHP5's 'mysqli' extension. - Search module: * Made indexer smarter and more robust. - * Added advanced search operators (e.g. phrase, node type, ...). + * Added advanced search operators (e.g., phrase, node type, etc.). * Added customizable result ranking. - PostgreSQL support: * Removed dependency on PL/pgSQL procedural language. @@ -1059,7 +1059,7 @@ Drupal 4.0.0, 2002-06-15 * Made each cloud site have its own settings. * Modules and themes can now be enabled/disabled using the administration pages. * Added URL abstraction for links. - * Usability changes (renamed links, better UI, etc). + * Usability changes (renamed links, better UI, etc.). - Collaboratively revised and expanded the Drupal documentation. Drupal 3.0.1, 2001-10-15 diff --git a/core/lib/Drupal/Component/Utility/NestedArray.php b/core/lib/Drupal/Component/Utility/NestedArray.php index e123b4adbb9de7134991ac18486a182db83c618a..8829fc802112ea37e9b19c7bf1d3687bfc8eb029 100644 --- a/core/lib/Drupal/Component/Utility/NestedArray.php +++ b/core/lib/Drupal/Component/Utility/NestedArray.php @@ -42,7 +42,7 @@ class NestedArray { * $key_exists = NULL; * $value = NestedArray::getValue($form, $parents, $key_exists); * if ($key_exists) { - * // ... do something with $value ... + * // Do something with $value. * } * @endcode * diff --git a/core/lib/Drupal/Core/Asset/CssOptimizer.php b/core/lib/Drupal/Core/Asset/CssOptimizer.php index 4b968885ae9a23b1390ef92501492bb35552b844..6e32fbd86e1eb432ea177bc1b16cf9f015619cf0 100644 --- a/core/lib/Drupal/Core/Asset/CssOptimizer.php +++ b/core/lib/Drupal/Core/Asset/CssOptimizer.php @@ -176,8 +176,7 @@ protected function loadNestedFile($matches) { $directory = $directory == '.' ? '' : $directory .'/'; // Alter all internal url() paths. Leave external paths alone. We don't need - // to normalize absolute paths here (i.e. remove folder/... segments) - // because that will be done later. + // to normalize absolute paths here because that will be done later. return preg_replace('/url\(\s*([\'"]?)(?![a-z]+:|\/+)([^\'")]+)([\'"]?)\s*\)/i', 'url(\1' . $directory . '\2\3)', $file); } diff --git a/core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php b/core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php index 154470dfec28024c07abbe6224a23fe2c9d3fb69..21672fb9a0ac380af89d36df9dd19841d1eebb0e 100644 --- a/core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php +++ b/core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php @@ -260,7 +260,7 @@ public function renameTable($table, $new_name) { $schema = $this->introspectSchema($table); // SQLite doesn't allow you to rename tables outside of the current - // database. So the syntax '...RENAME TO database.table' would fail. + // database. So the syntax '... RENAME TO database.table' would fail. // So we must determine the full table name here rather than surrounding // the table with curly braces in case the db_prefix contains a reference // to a database outside of our existing database. diff --git a/core/lib/Drupal/Core/Entity/Display/EntityFormDisplayInterface.php b/core/lib/Drupal/Core/Entity/Display/EntityFormDisplayInterface.php index b71b0ec2902a298fb71c99197062d47d82ddcb09..068c41f8ec579f0f0d66ee8d2102427497785f7d 100644 --- a/core/lib/Drupal/Core/Entity/Display/EntityFormDisplayInterface.php +++ b/core/lib/Drupal/Core/Entity/Display/EntityFormDisplayInterface.php @@ -41,7 +41,7 @@ interface EntityFormDisplayInterface extends EntityDisplayInterface { * // widget is 'single-value' (provides the input for one field value, * // most common case), and will therefore be repeated as many times as * // needed, or 'multiple-values' (one single widget allows the input of - * // several values, e.g checkboxes, select box...). + * // several values; e.g., checkboxes, select box, etc.). * 'field_foo' => array( * '#access' => TRUE if the current user has 'edit' grants for the field, * FALSE if not. diff --git a/core/lib/Drupal/Core/Field/WidgetInterface.php b/core/lib/Drupal/Core/Field/WidgetInterface.php index d110cecfe25c3c1508c1c38b9ac46c6a0d164446..39f7cc45a4f4d020550dbc18fe0f7396b63fecba 100644 --- a/core/lib/Drupal/Core/Field/WidgetInterface.php +++ b/core/lib/Drupal/Core/Field/WidgetInterface.php @@ -66,18 +66,18 @@ public function settingsSummary(); * hook_field_widget_WIDGET_TYPE_form_alter(). * * The FAPI element callbacks (such as #process, #element_validate, - * #value_callback...) used by the widget do not have access to the original - * $field_definition passed to the widget's constructor. Therefore, if any - * information is needed from that definition by those callbacks, the widget - * implementing this method, or a hook_field_widget[_WIDGET_TYPE]_form_alter() - * implementation, must extract the needed properties from the field - * definition and set them as ad-hoc $element['#custom'] properties, for later - * use by its element callbacks. + * #value_callback, etc.) used by the widget do not have access to the + * original $field_definition passed to the widget's constructor. Therefore, + * if any information is needed from that definition by those callbacks, the + * widget implementing this method, or a + * hook_field_widget[_WIDGET_TYPE]_form_alter() implementation, must extract + * the needed properties from the field definition and set them as ad-hoc + * $element['#custom'] properties, for later use by its element callbacks. * * @param \Drupal\Core\Field\FieldItemListInterface $items * Array of default values for this field. * @param int $delta - * The order of this item in the array of sub-elements (0, 1, 2, etc). + * The order of this item in the array of sub-elements (0, 1, 2, etc.). * @param array $element * A form element array containing basic properties for the widget: * - #field_parents: The 'parents' space for the field in the form. Most diff --git a/core/modules/block/src/BlockForm.php b/core/modules/block/src/BlockForm.php index 1aefa680645fa00c0a6244ad6e432c8a117e4f48..ac9406a8feb5302411299d041f42a2c095c48002 100644 --- a/core/modules/block/src/BlockForm.php +++ b/core/modules/block/src/BlockForm.php @@ -385,7 +385,7 @@ public function getUniqueMachineName(BlockInterface $block) { }, $block_ids); // Iterate through potential IDs until we get a new one. E.g. - // 'plugin', 'plugin_2', 'plugin_3'... + // 'plugin', 'plugin_2', 'plugin_3', etc. $count = 1; $machine_default = $suggestion; while (in_array($machine_default, $block_ids)) { diff --git a/core/modules/comment/comment.module b/core/modules/comment/comment.module index 9aa734af61f99f7560a5f21bc38400b43e129ce7..319067d582e7f7d163ca48bc6d463cdb7078a367 100644 --- a/core/modules/comment/comment.module +++ b/core/modules/comment/comment.module @@ -250,7 +250,7 @@ function comment_node_view_alter(array &$build, EntityInterface $node, EntityVie * @param \Drupal\comment\CommentInterface $comment * The comment object. * @param $view_mode - * (optional) View mode, e.g. 'full', 'teaser'... Defaults to 'full'. + * (optional) View mode; e.g., 'full', 'teaser', etc. Defaults to 'full'. * @param $langcode * (optional) A language code to use for rendering. Defaults to the global * content language of the current request. @@ -268,7 +268,7 @@ function comment_view(CommentInterface $comment, $view_mode = 'full', $langcode * @param $comments * An array of comments as returned by entity_load_multiple(). * @param $view_mode - * View mode, e.g. 'full', 'teaser'... + * View mode; e.g., 'full', 'teaser', etc. * @param $langcode * (optional) A string indicating the language field values are to be shown * in. If no language is provided the current content language is used. diff --git a/core/modules/entity_reference/src/ConfigurableEntityReferenceItem.php b/core/modules/entity_reference/src/ConfigurableEntityReferenceItem.php index 189fed6a666244a71844decc4edb2783e09c42fd..be11617e3ac6f42edf9c94541942a44bc9fed5ee 100644 --- a/core/modules/entity_reference/src/ConfigurableEntityReferenceItem.php +++ b/core/modules/entity_reference/src/ConfigurableEntityReferenceItem.php @@ -131,9 +131,9 @@ public function fieldSettingsForm(array $form, FormStateInterface $form_state) { $selection_plugins = \Drupal::service('plugin.manager.entity_reference_selection')->getSelectionGroups($this->getSetting('target_type')); $handlers_options = array(); foreach (array_keys($selection_plugins) as $selection_group_id) { - // We only display base plugins (e.g. 'default', 'views', ...) and not - // entity type specific plugins (e.g. 'default:node', 'default:user', - // ...). + // We only display base plugins (e.g., 'default', 'views', etc.) and not + // entity type specific plugins (e.g., 'default:node', 'default:user', + // etc.). if (array_key_exists($selection_group_id, $selection_plugins[$selection_group_id])) { $handlers_options[$selection_group_id] = SafeMarkup::checkPlain($selection_plugins[$selection_group_id][$selection_group_id]['label']); } diff --git a/core/modules/field/src/Tests/FormTest.php b/core/modules/field/src/Tests/FormTest.php index 748d2ac24c143990f782c12b108b375ba17a6d76..564e3006e56bfe605192b5ad6e6aa2ec6d42d213 100644 --- a/core/modules/field/src/Tests/FormTest.php +++ b/core/modules/field/src/Tests/FormTest.php @@ -259,7 +259,7 @@ function testFieldFormUnlimited() { $this->assertFieldByName("{$field_name}[0][value]", '', 'Widget 1 is displayed'); $this->assertFieldByName("{$field_name}[1][value]", '', 'New widget is displayed'); $this->assertNoField("{$field_name}[2][value]", 'No extraneous widget is displayed'); - // TODO : check that non-field inputs are preserved ('title')... + // TODO : check that non-field inputs are preserved ('title'), etc. // Yet another time so that we can play with more values -> 3 widgets. $this->drupalPostForm(NULL, array(), t('Add another item')); diff --git a/core/modules/filter/src/Tests/FilterUnitTest.php b/core/modules/filter/src/Tests/FilterUnitTest.php index 0e6c3c48fc4f512ea5aef6a7d4a7c8dae093143f..e4eeb33780a62fd05fe2cc044e6694183702eedb 100644 --- a/core/modules/filter/src/Tests/FilterUnitTest.php +++ b/core/modules/filter/src/Tests/FilterUnitTest.php @@ -582,7 +582,7 @@ function testUrlFilter() { ), // Absolute URL protocols. // The list to test is found in the beginning of _filter_url() at - // $protocols = $this->config('system.filter')->get('protocols')... (approx line 1555). + // $protocols = $this->config('system.filter')->get('protocols'). ' https://example.com, ftp://ftp.example.com, diff --git a/core/modules/image/image.module b/core/modules/image/image.module index 0e926feb849e5c5091feef259236795a33b224fe..59ab1b8c922a185d4b3f62d6586b67db5d043f79 100644 --- a/core/modules/image/image.module +++ b/core/modules/image/image.module @@ -177,7 +177,7 @@ function image_file_download($uri) { // Confirm there's at least one module granting access and none denying access. if (!empty($headers) && !in_array(-1, $headers)) { return array( - // Send headers describing the image's size, and MIME-type... + // Send headers describing the image's size, and MIME-type. 'Content-Type' => $image->getMimeType(), 'Content-Length' => $image->getFileSize(), // By not explicitly setting them here, this uses normal Drupal diff --git a/core/modules/locale/src/StringDatabaseStorage.php b/core/modules/locale/src/StringDatabaseStorage.php index d206f5266ef4b215e10868d3f26e355d09ddd48e..da4e295801332827731900521958e8d24645abe6 100644 --- a/core/modules/locale/src/StringDatabaseStorage.php +++ b/core/modules/locale/src/StringDatabaseStorage.php @@ -433,7 +433,7 @@ protected function dbStringSelect(array $conditions, array $options = array()) { } } - // Process other options, string filter, query limit, etc... + // Process other options, string filter, query limit, etc. if (!empty($options['filters'])) { if (count($options['filters']) > 1) { $filter = db_or(); diff --git a/core/modules/locale/src/StringInterface.php b/core/modules/locale/src/StringInterface.php index 046f414bf69ca1ab2bf088f8311d31520ab61a5c..0992c1de83ef1cfaaa4b308b80623c47ef532fea 100644 --- a/core/modules/locale/src/StringInterface.php +++ b/core/modules/locale/src/StringInterface.php @@ -156,7 +156,7 @@ public function getValues(array $fields); * * Locations are arbitrary pairs of type and name strings, used to store * information about the origins of the string, like the file name it - * was found on, the path on which it was discovered, etc... + * was found on, the path on which it was discovered, etc. * * A string can have any number of locations since the same string may be * found on different places of Drupal code and configuration. @@ -179,7 +179,7 @@ public function getLocations($check_only = FALSE); * @param string $name * Location name. Drupal path in case of online discovered translations, * file path in case of imported strings, configuration name for strings - * that come from configuration, etc... + * that come from configuration, etc. * * @return $this */ diff --git a/core/modules/node/node.module b/core/modules/node/node.module index a448b6c6a7af9e85a8c1702d3be9292908cbf140..f7374dace059303e263c261d71c037f232a37ece 100644 --- a/core/modules/node/node.module +++ b/core/modules/node/node.module @@ -567,7 +567,7 @@ function node_theme_suggestions_node(array $variables) { * An associative array containing: * - elements: An array of elements to display in view mode. * - node: The node object. - * - view_mode: View mode; e.g., 'full', 'teaser'... + * - view_mode: View mode; e.g., 'full', 'teaser', etc. */ function template_preprocess_node(&$variables) { $variables['view_mode'] = $variables['elements']['#view_mode']; @@ -785,7 +785,7 @@ function node_get_recent($number = 10) { * @param \Drupal\node\NodeInterface $node * A node entity. * @param $view_mode - * (optional) View mode, e.g., 'full', 'teaser'... Defaults to 'full.' + * (optional) View mode, e.g., 'full', 'teaser', etc. Defaults to 'full.' * @param $langcode * (optional) A language code to use for rendering. Defaults to NULL which is * the global content language of the current request. @@ -803,7 +803,7 @@ function node_view(NodeInterface $node, $view_mode = 'full', $langcode = NULL) { * @param $nodes * An array of nodes as returned by Node::loadMultiple(). * @param $view_mode - * (optional) View mode, e.g., 'full', 'teaser'... Defaults to 'teaser.' + * (optional) View mode, e.g., 'full', 'teaser', etc. Defaults to 'teaser.' * @param $langcode * (optional) A language code to use for rendering. Defaults to the global * content language of the current request. diff --git a/core/modules/simpletest/simpletest.module b/core/modules/simpletest/simpletest.module index 82ee88d986951ca154122e879a40904d895b0036..94e12e99b2511b20fb1493f44a0bcf0f4877fac6 100644 --- a/core/modules/simpletest/simpletest.module +++ b/core/modules/simpletest/simpletest.module @@ -469,7 +469,7 @@ function simpletest_log_read($test_id, $database_prefix, $test_class) { * $groups['Block'] => array( * 'BlockTestCase' => array( * 'name' => 'Block functionality', - * 'description' => 'Add, edit and delete custom block...', + * 'description' => 'Add, edit and delete custom block.', * 'group' => 'Block', * ), * ); diff --git a/core/modules/system/entity.api.php b/core/modules/system/entity.api.php index e60550f1e65cf01d3cae72333510fb0d6c14cbcb..3c68a577ec4dc20fd024102555da0dea0a3e94dd 100644 --- a/core/modules/system/entity.api.php +++ b/core/modules/system/entity.api.php @@ -1516,7 +1516,7 @@ function hook_entity_build_defaults_alter(array &$build, \Drupal\Core\Entity\Ent * An associative array containing: * - entity_type: The entity type, e.g., 'node' or 'user'. * - bundle: The bundle, e.g., 'page' or 'article'. - * - view_mode: The view mode, e.g. 'full', 'teaser'... + * - view_mode: The view mode, e.g., 'full', 'teaser', etc. * * @ingroup entity_crud */ @@ -1625,7 +1625,7 @@ function hook_ENTITY_TYPE_prepare_form(\Drupal\Core\Entity\EntityInterface $enti * An associative array containing: * - entity_type: The entity type, e.g., 'node' or 'user'. * - bundle: The bundle, e.g., 'page' or 'article'. - * - form_mode: The form mode, e.g. 'default', 'profile', 'register'... + * - form_mode: The form mode; e.g., 'default', 'profile', 'register', etc. * * @ingroup entity_crud */ diff --git a/core/modules/taxonomy/taxonomy.module b/core/modules/taxonomy/taxonomy.module index 7ed0d38c74239fda2c0c36cca2097e12cdec2454..eedc761de75de486eb6f9bdb230ed400b8502808 100644 --- a/core/modules/taxonomy/taxonomy.module +++ b/core/modules/taxonomy/taxonomy.module @@ -179,7 +179,7 @@ function taxonomy_check_vocabulary_hierarchy(VocabularyInterface $vocabulary, $c * @param \Drupal\taxonomy\Entity\Term $term * A taxonomy term object. * @param string $view_mode - * View mode, e.g. 'full', 'teaser'... + * View mode; e.g., 'full', 'teaser', etc. * @param string $langcode * (optional) A language code to use for rendering. Defaults to the global * content language of the current request. @@ -197,7 +197,7 @@ function taxonomy_term_view(Term $term, $view_mode = 'full', $langcode = NULL) { * @param array $terms * An array of taxonomy terms as returned by Term::loadMultiple(). * @param string $view_mode - * View mode, e.g. 'full', 'teaser'... + * View mode; e.g., 'full', 'teaser', etc. * @param string $langcode * (optional) A language code to use for rendering. Defaults to the global * content language of the current request. diff --git a/core/modules/update/src/Tests/UpdateContribTest.php b/core/modules/update/src/Tests/UpdateContribTest.php index 81979441d2185bd6eaa175d4fb7335e1e06ce30e..a18a547781f50dece0cff4110b913f3ce33852c4 100644 --- a/core/modules/update/src/Tests/UpdateContribTest.php +++ b/core/modules/update/src/Tests/UpdateContribTest.php @@ -341,9 +341,9 @@ function testUpdateBrokenFetchURL() { // It should say we failed to get data, not that we're missing an update. $this->assertNoText(t('Update available')); - // We need to check that this string is found as part of a project row, - // not just in the "Failed to get available update data for ..." message - // at the top of the page. + // We need to check that this string is found as part of a project row, not + // just in the "Failed to get available update data" message at the top of + // the page. $this->assertRaw('<div class="project-update__status">' . t('Failed to get available update data')); // We should see the output messages from fetching manually. diff --git a/core/modules/user/user.module b/core/modules/user/user.module index 1e6de88c236d431932431bddebd077db1c105350..f909d62deb860f83e38a8d82153f90589a3715fc 100644 --- a/core/modules/user/user.module +++ b/core/modules/user/user.module @@ -883,7 +883,7 @@ function user_view($account, $view_mode = 'full', $langcode = NULL) { * @param \Drupal\user\UserInterface[] $account * An array of user accounts as returned by User::loadMultiple(). * @param string $view_mode - * (optional) View mode, e.g., 'full', 'teaser'... Defaults to 'teaser'. + * (optional) View mode, e.g., 'full', 'teaser', etc. Defaults to 'teaser.' * @param string|null $langcode * (optional) A language code to use for rendering. Defaults to the global * content language of the current request. diff --git a/core/modules/views/src/Form/ViewsForm.php b/core/modules/views/src/Form/ViewsForm.php index 8a9a3e6560b6cbacc1341ce2a0968ca0cccacdc5..39ff499c7be1ae0933fdb7da5b15c47f07d2c697 100644 --- a/core/modules/views/src/Form/ViewsForm.php +++ b/core/modules/views/src/Form/ViewsForm.php @@ -130,7 +130,8 @@ public function buildForm(array $form, FormStateInterface $form_state, ViewExecu $options = array('query' => $query); $form['#action'] = $view->hasUrl() ? $view->getUrl()->setOptions($options)->toString() : Url::fromRoute('<current>')->setOptions($options)->toString(); - // Tell the preprocessor whether it should hide the header, footer, pager... + // Tell the preprocessor whether it should hide the header, footer, pager, + // etc. $form['show_view_elements'] = array( '#type' => 'value', '#value' => ($step == 'views_form_views_form') ? TRUE : FALSE, diff --git a/core/modules/views/src/Plugin/views/query/Sql.php b/core/modules/views/src/Plugin/views/query/Sql.php index 9d48a624081fb35ab83bc1b82b87c76e53b61c5e..2ddfd219916197a948fff26ef1334f7c8cbad85f 100644 --- a/core/modules/views/src/Plugin/views/query/Sql.php +++ b/core/modules/views/src/Plugin/views/query/Sql.php @@ -1408,7 +1408,7 @@ function execute(ViewExecutable $view) { $count_query = $count_query->countQuery(); // Add additional arguments as a fake condition. - // XXX: this doesn't work... because PDO mandates that all bound arguments + // XXX: this doesn't work, because PDO mandates that all bound arguments // are used on the query. TODO: Find a better way to do this. if (!empty($additional_arguments)) { // $query->where('1 = 1', $additional_arguments); diff --git a/core/modules/views/src/Plugin/views/relationship/GroupwiseMax.php b/core/modules/views/src/Plugin/views/relationship/GroupwiseMax.php index 39f3bb953b725483617e4f25100920a298998887..6d044677a41fbe5cc57ce51d109e4233159623eb 100644 --- a/core/modules/views/src/Plugin/views/relationship/GroupwiseMax.php +++ b/core/modules/views/src/Plugin/views/relationship/GroupwiseMax.php @@ -269,7 +269,7 @@ protected function leftQuery($options) { // Not sure why, but our sort order clause doesn't have a table. // TODO: the call to addHandler() above to add the sort handler is probably // wrong -- needs attention from someone who understands it. - // In the meantime, this works, but with a leap of faith... + // In the meantime, this works, but with a leap of faith. $orders = &$subquery->getOrderBy(); foreach ($orders as $order_key => $order) { // But if we're using a whole view, we don't know what we have! diff --git a/core/modules/views/src/Tests/PluginInstanceTest.php b/core/modules/views/src/Tests/PluginInstanceTest.php index 18934322981eb9ef2611499b0ee2ef0a6a27ac7a..189399f65ec99a089357867b0bcab655ffcc6b7f 100644 --- a/core/modules/views/src/Tests/PluginInstanceTest.php +++ b/core/modules/views/src/Tests/PluginInstanceTest.php @@ -90,7 +90,7 @@ public function testPluginInstances() { if ($reflection->isSubclassOf('Drupal\views\Plugin\views\PluginBase')) { // Create a plugin instance and check what it is. This is not just // good to check they can be created but for throwing any notices for - // method signatures etc... too. + // method signatures etc. too. $instance = $manager->createInstance($id); $this->assertTrue($instance instanceof $definition['class'], format_string('Instance of @type:@id created', array('@type' => $type, '@id' => $id))); } diff --git a/core/modules/views/src/Tests/QueryGroupByTest.php b/core/modules/views/src/Tests/QueryGroupByTest.php index ad3e225038b9c6060f9c59f41cf9f8246537cd68..768aaafbf0c7fb49accf87b64b46ccf8b484191b 100644 --- a/core/modules/views/src/Tests/QueryGroupByTest.php +++ b/core/modules/views/src/Tests/QueryGroupByTest.php @@ -183,7 +183,7 @@ public function testGroupByNone() { */ public function testGroupByCountOnlyFilters() { // Check if GROUP BY and HAVING are included when a view - // Doesn't display SUM, COUNT, MAX... functions in SELECT statement + // doesn't display SUM, COUNT, MAX, etc. functions in SELECT statement. for ($x = 0; $x < 10; $x++) { $this->storage->create(array('name' => 'name1'))->save(); diff --git a/core/modules/views_ui/src/Tests/DefaultViewsTest.php b/core/modules/views_ui/src/Tests/DefaultViewsTest.php index 8a88e3d4e087f1dab3750e969374b3f4068ecedc..416f276af368e423be4f110fb00e06f55f6beaa6 100644 --- a/core/modules/views_ui/src/Tests/DefaultViewsTest.php +++ b/core/modules/views_ui/src/Tests/DefaultViewsTest.php @@ -200,7 +200,7 @@ public function testPathDestination() { * @param $unique_href_part * A unique string that is expected to occur within the href of the desired * link. For example, if the link URL is expected to look like - * "admin/structure/views/view/glossary/...", then "/glossary/" could be + * "admin/structure/views/view/glossary/*", then "/glossary/" could be * passed as the expected unique string. * * @return diff --git a/core/modules/views_ui/views_ui.module b/core/modules/views_ui/views_ui.module index 6712c5d8bc59bcc545569eed633d8bd188ab0b9f..45cf248d2d0609942c7cd4ac15c5e6beca7c682c 100644 --- a/core/modules/views_ui/views_ui.module +++ b/core/modules/views_ui/views_ui.module @@ -322,7 +322,7 @@ function views_ui_views_analyze(ViewExecutable $view) { } /** - * Truncate strings to a set length and provide a ... if they truncated. + * Truncate strings to a set length and provide a '...' if they truncated. * * This is often used in the UI to ensure long strings fit. */ diff --git a/web.config b/web.config index b072d9b02db28b0f4918adb5126166320b65c7a3..782d4ae50d3b292db78c320adf5d02b32db9fd1a 100644 --- a/web.config +++ b/web.config @@ -35,7 +35,7 @@ </rule> <!-- To redirect all users to access the site WITH the 'www.' prefix, - http://example.com/... will be redirected to http://www.example.com/...) + http://example.com/foo will be redirected to http://www.example.com/foo) adapt and uncomment the following: --> <!-- <rule name="Redirect to add www" stopProcessing="true"> @@ -48,7 +48,7 @@ --> <!-- To redirect all users to access the site WITHOUT the 'www.' prefix, - http://www.example.com/... will be redirected to http://example.com/...) + http://www.example.com/foo will be redirected to http://example.com/foo) adapt and uncomment the following: --> <!-- <rule name="Redirect to remove www" stopProcessing="true">