From 1471f55330b88022afbba8cd9409b6aa5ff4e8a6 Mon Sep 17 00:00:00 2001 From: Kristen Pol Date: Sat, 2 Mar 2024 16:18:04 -0800 Subject: [PATCH] Updated Quant capitalization. --- modules/quant_cron/quant_cron.module | 2 +- .../quant_purger/config/schema/quant_purger.schema.yml | 2 +- modules/quant_purger/quant_purger.install | 2 +- .../src/StackMiddleware/TraitUrlRegistrar.php | 2 +- modules/quant_purger/src/StackMiddleware/UrlRegistrar.php | 4 ++-- modules/quant_purger/src/TrafficRegistry.php | 6 +++--- .../quant_sitemap/tests/src/Unit/SitemapManagerTest.php | 8 ++++---- .../quant_webform/templates/quant-form-result.html.twig | 2 +- quant.links.menu.yml | 4 ++-- src/Commands/QuantDrushCommands.php | 4 ++-- src/EventSubscriber/CollectionSubscriber.php | 4 ++-- src/Form/ConfigForm.php | 2 +- src/Plugin/MetadataBase.php | 2 +- src/Plugin/QueueItem/FileItem.php | 2 +- src/Plugin/QueueItem/RouteItem.php | 2 +- 15 files changed, 24 insertions(+), 24 deletions(-) diff --git a/modules/quant_cron/quant_cron.module b/modules/quant_cron/quant_cron.module index 63f01b23..0c27e353 100644 --- a/modules/quant_cron/quant_cron.module +++ b/modules/quant_cron/quant_cron.module @@ -2,7 +2,7 @@ /** * @file - * Add cron support for quant processing. + * Add cron support for Quant processing. */ use Drupal\quant\Seed; diff --git a/modules/quant_purger/config/schema/quant_purger.schema.yml b/modules/quant_purger/config/schema/quant_purger.schema.yml index cb607946..887cf0d5 100644 --- a/modules/quant_purger/config/schema/quant_purger.schema.yml +++ b/modules/quant_purger/config/schema/quant_purger.schema.yml @@ -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.' diff --git a/modules/quant_purger/quant_purger.install b/modules/quant_purger/quant_purger.install index d33fd36c..77ba85bb 100644 --- a/modules/quant_purger/quant_purger.install +++ b/modules/quant_purger/quant_purger.install @@ -2,7 +2,7 @@ /** * @file - * Install the quant cache tags purger. + * Install the Quant cache tags purger. */ /** diff --git a/modules/quant_purger/src/StackMiddleware/TraitUrlRegistrar.php b/modules/quant_purger/src/StackMiddleware/TraitUrlRegistrar.php index 2c6b53f8..1afde055 100644 --- a/modules/quant_purger/src/StackMiddleware/TraitUrlRegistrar.php +++ b/modules/quant_purger/src/StackMiddleware/TraitUrlRegistrar.php @@ -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. diff --git a/modules/quant_purger/src/StackMiddleware/UrlRegistrar.php b/modules/quant_purger/src/StackMiddleware/UrlRegistrar.php index 396584a5..1b186e1d 100644 --- a/modules/quant_purger/src/StackMiddleware/UrlRegistrar.php +++ b/modules/quant_purger/src/StackMiddleware/UrlRegistrar.php @@ -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 */ @@ -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 */ diff --git a/modules/quant_purger/src/TrafficRegistry.php b/modules/quant_purger/src/TrafficRegistry.php index 6fd22ddc..b2658026 100644 --- a/modules/quant_purger/src/TrafficRegistry.php +++ b/modules/quant_purger/src/TrafficRegistry.php @@ -7,7 +7,7 @@ use Drupal\quant_purger\StackMiddleware\TraitUrlRegistrar; /** - * The quant traffic registry. + * The Quant traffic registry. */ class TrafficRegistry implements TrafficRegistryInterface { @@ -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. diff --git a/modules/quant_sitemap/tests/src/Unit/SitemapManagerTest.php b/modules/quant_sitemap/tests/src/Unit/SitemapManagerTest.php index 52e193db..9324a973 100644 --- a/modules/quant_sitemap/tests/src/Unit/SitemapManagerTest.php +++ b/modules/quant_sitemap/tests/src/Unit/SitemapManagerTest.php @@ -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); @@ -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); @@ -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); @@ -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); diff --git a/modules/quant_webform/templates/quant-form-result.html.twig b/modules/quant_webform/templates/quant-form-result.html.twig index 7e82e674..458dcf9c 100644 --- a/modules/quant_webform/templates/quant-form-result.html.twig +++ b/modules/quant_webform/templates/quant-form-result.html.twig @@ -1,7 +1,7 @@ {# /** * @file - * Default theme implementation of a quant submission result. + * Default theme implementation of a Quant submission result. * * @ingroup themeable */ diff --git a/quant.links.menu.yml b/quant.links.menu.yml index 993e7e9b..a57a76ac 100644 --- a/quant.links.menu.yml +++ b/quant.links.menu.yml @@ -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 diff --git a/src/Commands/QuantDrushCommands.php b/src/Commands/QuantDrushCommands.php index a487a864..d4cf343e 100644 --- a/src/Commands/QuantDrushCommands.php +++ b/src/Commands/QuantDrushCommands.php @@ -111,7 +111,7 @@ public function message($options = ['threads' => 5]) { } /** - * Unlock quant queue. + * Unlock Quant queue. * * @command quant:unlock-queue * @aliases quant-queue-unlock @@ -125,7 +125,7 @@ public function unlock($options = []) { } /** - * Clear the quant queue. + * Clear the Quant queue. * * @command quant:clear-queue * @aliases quant-queue-clear diff --git a/src/EventSubscriber/CollectionSubscriber.php b/src/EventSubscriber/CollectionSubscriber.php index 153887ab..f304014c 100644 --- a/src/EventSubscriber/CollectionSubscriber.php +++ b/src/EventSubscriber/CollectionSubscriber.php @@ -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 { @@ -214,7 +214,7 @@ private function collectThemeFiles($event) { } /** - * Collect files for quant seeding. + * Collect files for Quant seeding. */ public function collectFiles(CollectFilesEvent $event) { diff --git a/src/Form/ConfigForm.php b/src/Form/ConfigForm.php index d39b3c04..5dd015a7 100644 --- a/src/Form/ConfigForm.php +++ b/src/Form/ConfigForm.php @@ -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() { diff --git a/src/Plugin/MetadataBase.php b/src/Plugin/MetadataBase.php index 49a0fc75..b30bb121 100644 --- a/src/Plugin/MetadataBase.php +++ b/src/Plugin/MetadataBase.php @@ -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 diff --git a/src/Plugin/QueueItem/FileItem.php b/src/Plugin/QueueItem/FileItem.php index 6b092b3a..322694de 100644 --- a/src/Plugin/QueueItem/FileItem.php +++ b/src/Plugin/QueueItem/FileItem.php @@ -5,7 +5,7 @@ use Drupal\quant\Event\QuantFileEvent; /** - * A quant queue file item. + * A Quant queue file item. * * @ingroup quant */ diff --git a/src/Plugin/QueueItem/RouteItem.php b/src/Plugin/QueueItem/RouteItem.php index 919c2e93..25908293 100644 --- a/src/Plugin/QueueItem/RouteItem.php +++ b/src/Plugin/QueueItem/RouteItem.php @@ -6,7 +6,7 @@ use Drupal\quant\Seed; /** - * A quant queue item for a redirect. + * A Quant queue item for a redirect. * * @ingroup quant */