Skip to content

Commit

Permalink
Updated Quant capitalization.
Browse files Browse the repository at this point in the history
  • Loading branch information
kepol committed Mar 3, 2024
1 parent e844987 commit 1471f55
Show file tree
Hide file tree
Showing 15 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion modules/quant_cron/quant_cron.module
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/**
* @file
* Add cron support for quant processing.
* Add cron support for Quant processing.
*/

use Drupal\quant\Seed;
Expand Down
2 changes: 1 addition & 1 deletion modules/quant_purger/config/schema/quant_purger.schema.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Schema for the configuration files of the purge_queuer_url module.
quant_purger.settings:
type: config_object
label: 'quant purger settings.'
label: 'Quant purger settings.'
mapping:
tag_blacklist:
label: 'A list of string tags that will not trigger a queue.'
Expand Down
2 changes: 1 addition & 1 deletion modules/quant_purger/quant_purger.install
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/**
* @file
* Install the quant cache tags purger.
* Install the Quant cache tags purger.
*/

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ trait TraitUrlRegistrar {
* If the request can be cached.
*/
public function determine(Request $request, Response $response) {
// Don't gather responses that don't have a quant token. As this
// Don't gather responses that don't have a Quant token. As this
// is a HTTP middleware we need to make sure this is as lean as
// possible - we don't want to add a huge performance burden to
// begin tracking pages to cachetags.
Expand Down
4 changes: 2 additions & 2 deletions modules/quant_purger/src/StackMiddleware/UrlRegistrar.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class UrlRegistrar implements HttpKernelInterface {
protected $registry;

/**
* The configuration object for quant purger.
* The configuration object for Quant purger.
*
* @var \Drupal\Core\Config\ImmutableConfig
*/
Expand Down Expand Up @@ -94,7 +94,7 @@ class UrlRegistrar implements HttpKernelInterface {
protected $registry;

/**
* The configuration object for quant purger.
* The configuration object for Quant purger.
*
* @var \Drupal\Core\Config\ImmutableConfig
*/
Expand Down
6 changes: 3 additions & 3 deletions modules/quant_purger/src/TrafficRegistry.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use Drupal\quant_purger\StackMiddleware\TraitUrlRegistrar;

/**
* The quant traffic registry.
* The Quant traffic registry.
*/
class TrafficRegistry implements TrafficRegistryInterface {

Expand All @@ -21,14 +21,14 @@ class TrafficRegistry implements TrafficRegistryInterface {
protected $connection;

/**
* The configuration object for quant purger.
* The configuration object for Quant purger.
*
* @var \Drupal\Core\Config\ImmutableConfig
*/
protected $config;

/**
* Constructs a quant traffic registry event.
* Constructs a Quant traffic registry event.
*
* @param \Drupal\Core\Database\Connection $connection
* The active database connection.
Expand Down
8 changes: 4 additions & 4 deletions modules/quant_sitemap/tests/src/Unit/SitemapManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
class SitemapManagerTest extends KernelTestBase {

/**
* Verify quant sitemap compatibility with xmlsitemap.
* Verify Quant sitemap compatibility with xmlsitemap.
*/
public function testSimpleSitemapSupportedVersion() {
$module_handler_mock = $this->createMock(ModuleHandler::class);
Expand Down Expand Up @@ -47,7 +47,7 @@ public function testSimpleSitemapSupportedVersion() {
}

/**
* Verify quant sitemap compatibility with simple_sitemap.
* Verify Quant sitemap compatibility with simple_sitemap.
*/
public function testSimpleSitemapUnsupportedVersion() {
$module_handler_mock = $this->createMock(ModuleHandler::class);
Expand Down Expand Up @@ -77,7 +77,7 @@ public function testSimpleSitemapUnsupportedVersion() {
}

/**
* Verify quant sitemap compatibility with xmlsitemap.
* Verify Quant sitemap compatibility with xmlsitemap.
*/
public function testXmlsitemapSupportedVersion() {
$module_handler_mock = $this->createMock(ModuleHandler::class);
Expand Down Expand Up @@ -107,7 +107,7 @@ public function testXmlsitemapSupportedVersion() {
}

/**
* Verify quant sitemap compatibility with xmlsitemap.
* Verify Quant sitemap compatibility with xmlsitemap.
*/
public function testXmlsitemapUnsupportedVersion() {
$module_handler_mock = $this->createMock(ModuleHandler::class);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{#
/**
* @file
* Default theme implementation of a quant submission result.
* Default theme implementation of a Quant submission result.
*
* @ingroup themeable
*/
Expand Down
4 changes: 2 additions & 2 deletions quant.links.menu.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
quant:
title: 'Quant'
route_name: quant.config
description: 'Configuration for the quant static exporter'
description: 'Configuration for the Quant static exporter'
parent: system.admin_config
weight: 10

quant.config:
title: 'Quant'
route_name: quant.config
description: 'Configuration for the quant static exporter'
description: 'Configuration for the Quant static exporter'
parent: quant
weight: 1

Expand Down
4 changes: 2 additions & 2 deletions src/Commands/QuantDrushCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public function message($options = ['threads' => 5]) {
}

/**
* Unlock quant queue.
* Unlock Quant queue.
*
* @command quant:unlock-queue
* @aliases quant-queue-unlock
Expand All @@ -125,7 +125,7 @@ public function unlock($options = []) {
}

/**
* Clear the quant queue.
* Clear the Quant queue.
*
* @command quant:clear-queue
* @aliases quant-queue-clear
Expand Down
4 changes: 2 additions & 2 deletions src/EventSubscriber/CollectionSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
use Drupal\redirect\Entity\Redirect;

/**
* Event subscribers for the quant collection events.
* Event subscribers for the Quant collection events.
*/
class CollectionSubscriber implements EventSubscriberInterface {

Expand Down Expand Up @@ -214,7 +214,7 @@ private function collectThemeFiles($event) {
}

/**
* Collect files for quant seeding.
* Collect files for Quant seeding.
*/
public function collectFiles(CollectFilesEvent $event) {

Expand Down
2 changes: 1 addition & 1 deletion src/Form/ConfigForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ public function validateForm(array &$form, FormStateInterface $form_state) {
* Checks the Quant validation route for an expected response.
*
* @return bool
* If quant can connect to local webserver or not.
* If Quant can connect to local webserver or not.
*/
private function checkValidationRoute() {

Expand Down
2 changes: 1 addition & 1 deletion src/Plugin/MetadataBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function defaultConfiguration() {
/**
* Build a configuration form.
*
* This allows some quant metadata plugins to accept configuration
* This allows some Quant metadata plugins to accept configuration
* values.
*
* @return array
Expand Down
2 changes: 1 addition & 1 deletion src/Plugin/QueueItem/FileItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Drupal\quant\Event\QuantFileEvent;

/**
* A quant queue file item.
* A Quant queue file item.
*
* @ingroup quant
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Plugin/QueueItem/RouteItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Drupal\quant\Seed;

/**
* A quant queue item for a redirect.
* A Quant queue item for a redirect.
*
* @ingroup quant
*/
Expand Down

0 comments on commit 1471f55

Please sign in to comment.