Issue #2494319 by Pere Orga: Follow up to Spellchecking Drupal - Comments

8.0.x
Jennifer Hodgdon 2015-06-05 13:20:37 -07:00
parent c3cb303173
commit 700158c93b
8 changed files with 12 additions and 12 deletions

View File

@ -98,7 +98,7 @@ class EntityDefinitionUpdateManager implements EntityDefinitionUpdateManagerInte
$change_list = $this->getChangeList(); $change_list = $this->getChangeList();
if ($change_list) { if ($change_list) {
// getChangeList() only disables the cache and does not invalidate. // getChangeList() only disables the cache and does not invalidate.
// In case there are changes, explictly invalidate caches. // In case there are changes, explicitly invalidate caches.
$this->entityManager->clearCachedDefinitions(); $this->entityManager->clearCachedDefinitions();
} }
foreach ($change_list as $entity_type_id => $change_list) { foreach ($change_list as $entity_type_id => $change_list) {

View File

@ -6,9 +6,9 @@
* Available variables: * Available variables:
* - language_types: A list of language negotiation types. Each language type * - language_types: A list of language negotiation types. Each language type
* contains the following: * contains the following:
* - type: The machine name for the negotation type. * - type: The machine name for the negotiation type.
* - title: The language negotation type name. * - title: The language negotiation type name.
* - description: A description for how the language negotation type operates. * - description: A description for how the language negotiation type operates.
* - configurable: A radio element to toggle the table. * - configurable: A radio element to toggle the table.
* - table: A draggable table for the language detection methods of this type. * - table: A draggable table for the language detection methods of this type.
* - children: Remaining form items for the group. * - children: Remaining form items for the group.

View File

@ -464,7 +464,7 @@ class SearchQuery extends SelectExtender {
} }
/** /**
* {@inhertidoc} * {@inheritdoc}
*/ */
public function preExecute(SelectInterface $query = NULL) { public function preExecute(SelectInterface $query = NULL) {
if (!$this->executedPrepare) { if (!$this->executedPrepare) {

View File

@ -29,7 +29,7 @@ class ScanDirectoryTest extends FileTestBase {
protected function setUp() { protected function setUp() {
parent::setUp(); parent::setUp();
// Hardcode the location of the simpletest files as it is already known // Hardcode the location of the simpletest files as it is already known
// and shouldn't change, and we don't yet have a way to retreive their // and shouldn't change, and we don't yet have a way to retrieve their
// location from drupal_get_filename() in a cached way. // location from drupal_get_filename() in a cached way.
// @todo Remove as part of https://www.drupal.org/node/2186491 // @todo Remove as part of https://www.drupal.org/node/2186491
$this->path = 'core/modules/simpletest/files'; $this->path = 'core/modules/simpletest/files';

View File

@ -75,7 +75,7 @@ class TwigRegistryLoaderTest extends WebTestBase {
$this->assertText('This line is from test_theme_twig_registry_loader_theme/templates/twig-registry-loader-test-extend.html.twig'); $this->assertText('This line is from test_theme_twig_registry_loader_theme/templates/twig-registry-loader-test-extend.html.twig');
$this->assertText('This line is from test_theme_twig_registry_loader_theme/templates/twig-registry-loader-test-include.html.twig'); $this->assertText('This line is from test_theme_twig_registry_loader_theme/templates/twig-registry-loader-test-include.html.twig');
// Enable a subtheme for the theme that doesnt have any overrides to make // Enable a subtheme for the theme that doesn't have any overrides to make
// sure that templates are being loaded from the first parent which has the // sure that templates are being loaded from the first parent which has the
// templates. // templates.
$this->config('system.theme') $this->config('system.theme')

View File

@ -13,7 +13,7 @@ use Drupal\Core\Session\AccountProxyInterface;
use Symfony\Component\HttpFoundation\RequestStack; use Symfony\Component\HttpFoundation\RequestStack;
/** /**
* Creates a PrivateTempStore object for a given collecton. * Creates a PrivateTempStore object for a given collection.
*/ */
class PrivateTempStoreFactory { class PrivateTempStoreFactory {

View File

@ -60,7 +60,7 @@ class DrupalKernelTrustedHostsTest extends UnitTestCase {
// Tests canonical URL. // Tests canonical URL.
$data[] = ['www.example.com', 'www.example.com', 'canonical URL is trusted', TRUE]; $data[] = ['www.example.com', 'www.example.com', 'canonical URL is trusted', TRUE];
// Tests missing hostname for HTTP/1.0 compatability where the Host // Tests missing hostname for HTTP/1.0 compatibility where the Host
// header is optional. // header is optional.
$data[] = [NULL, 'www.example.com', 'empty Host is valid', TRUE]; $data[] = [NULL, 'www.example.com', 'empty Host is valid', TRUE];

View File

@ -25,9 +25,9 @@ parameters:
cookie_lifetime: 2000000 cookie_lifetime: 2000000
# #
# Drupal automatically generates a unique session cookie name based on the # Drupal automatically generates a unique session cookie name based on the
# full domain name used to access the site. This mechanism is sufficent for # full domain name used to access the site. This mechanism is sufficient
# most use-cases, including multi-site deployments. However, if it is # for most use-cases, including multi-site deployments. However, if it is
# desired that a session can be reused accross different subdomains, the # desired that a session can be reused across different subdomains, the
# cookie domain needs to be set to the shared base domain. Doing so assures # cookie domain needs to be set to the shared base domain. Doing so assures
# that users remain logged in as they cross between various subdomains. # that users remain logged in as they cross between various subdomains.
# To maximize compatibility and normalize the behavior across user agents, # To maximize compatibility and normalize the behavior across user agents,