From 390fcb3eafc309e0c36a88e8a6f761f7ff0c8214 Mon Sep 17 00:00:00 2001 From: edyuenyw <67810118+edyuenyw@users.noreply.github.com> Date: Thu, 22 Jun 2023 14:11:09 +1000 Subject: [PATCH] Sort use alphabetically. (#134) --- .../src/Plugin/Block/PreviewLinksBlock.php | 2 +- modules/tide_site_preview/src/TideSitePreviewHelper.php | 2 +- modules/tide_site_preview/tide_site_preview.install | 2 +- .../tide_site_simple_sitemap.install | 2 +- .../tide_site_simple_sitemap.module | 2 +- tide_site.install | 4 ++-- tide_site.module | 8 ++++---- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/modules/tide_site_preview/src/Plugin/Block/PreviewLinksBlock.php b/modules/tide_site_preview/src/Plugin/Block/PreviewLinksBlock.php index 40a81167..d350d169 100644 --- a/modules/tide_site_preview/src/Plugin/Block/PreviewLinksBlock.php +++ b/modules/tide_site_preview/src/Plugin/Block/PreviewLinksBlock.php @@ -12,8 +12,8 @@ use Drupal\Core\Session\AccountInterface; use Drupal\node\NodeInterface; use Drupal\tide_site\TideSiteHelper; -use Symfony\Component\DependencyInjection\ContainerInterface; use Drupal\tide_site_preview\TideSitePreviewHelper; +use Symfony\Component\DependencyInjection\ContainerInterface; /** * Class preview links block. diff --git a/modules/tide_site_preview/src/TideSitePreviewHelper.php b/modules/tide_site_preview/src/TideSitePreviewHelper.php index 3eafc009..5f097480 100644 --- a/modules/tide_site_preview/src/TideSitePreviewHelper.php +++ b/modules/tide_site_preview/src/TideSitePreviewHelper.php @@ -2,10 +2,10 @@ namespace Drupal\tide_site_preview; +use Drupal\Core\Url; use Drupal\node\NodeInterface; use Drupal\taxonomy\TermInterface; use Drupal\tide_site\TideSiteHelper; -use Drupal\Core\Url; /** * Helper class for Tide Site Preview. diff --git a/modules/tide_site_preview/tide_site_preview.install b/modules/tide_site_preview/tide_site_preview.install index da01f9e3..8a77acf3 100644 --- a/modules/tide_site_preview/tide_site_preview.install +++ b/modules/tide_site_preview/tide_site_preview.install @@ -5,8 +5,8 @@ * Tide Site install file. */ -use Drupal\user\Entity\Role; use Drupal\block\Entity\Block; +use Drupal\user\Entity\Role; /** * Implements hook_install(). diff --git a/modules/tide_site_simple_sitemap/tide_site_simple_sitemap.install b/modules/tide_site_simple_sitemap/tide_site_simple_sitemap.install index 5d73b0b0..8d5f7cf8 100644 --- a/modules/tide_site_simple_sitemap/tide_site_simple_sitemap.install +++ b/modules/tide_site_simple_sitemap/tide_site_simple_sitemap.install @@ -5,8 +5,8 @@ * Tide Site install file. */ -use Drupal\simple_sitemap\Entity\SimpleSitemapType; use Drupal\simple_sitemap\Entity\SimpleSitemap; +use Drupal\simple_sitemap\Entity\SimpleSitemapType; /** * Implements hook_install(). diff --git a/modules/tide_site_simple_sitemap/tide_site_simple_sitemap.module b/modules/tide_site_simple_sitemap/tide_site_simple_sitemap.module index a5eb18ac..6e5594cd 100644 --- a/modules/tide_site_simple_sitemap/tide_site_simple_sitemap.module +++ b/modules/tide_site_simple_sitemap/tide_site_simple_sitemap.module @@ -5,8 +5,8 @@ * Tide Site Simple Sitemap functions. */ -use Drupal\simple_sitemap\Entity\SimpleSitemapInterface; use Drupal\simple_sitemap\Entity\SimpleSitemap; +use Drupal\simple_sitemap\Entity\SimpleSitemapInterface; /** * Implements hook_ENTITY_TYPE_delete(). diff --git a/tide_site.install b/tide_site.install index e11391e0..5bf06e8e 100644 --- a/tide_site.install +++ b/tide_site.install @@ -7,10 +7,10 @@ use Drupal\Core\Config\FileStorage; use Drupal\Core\Entity\Display\EntityFormDisplayInterface; -use Drupal\field\Entity\FieldStorageConfig; +use Drupal\Core\Site\Settings; use Drupal\field\Entity\FieldConfig; +use Drupal\field\Entity\FieldStorageConfig; use Drupal\taxonomy\TaxonomyPermissions; -use Drupal\Core\Site\Settings; /** * Implements hook_install(). diff --git a/tide_site.module b/tide_site.module index 0e62368b..39ed6a40 100644 --- a/tide_site.module +++ b/tide_site.module @@ -16,15 +16,15 @@ use Drupal\Core\Routing\RouteMatchInterface; use Drupal\Core\Url; use Drupal\field\Entity\FieldConfig; use Drupal\node\Entity\Node; +use Drupal\node\NodeInterface; +use Drupal\path_alias\Entity\PathAlias; +use Drupal\path_alias\PathAliasInterface; use Drupal\search_api\IndexInterface; use Drupal\taxonomy\Entity\Term; use Drupal\tide_site\TideSiteFields; use Drupal\tide_site\TideSiteMenuAutocreate; -use Drupal\views\ViewExecutable; -use Drupal\path_alias\Entity\PathAlias; -use Drupal\path_alias\PathAliasInterface; use Drupal\tide_site\TideSitePathAliasListBuilder; -use Drupal\node\NodeInterface; +use Drupal\views\ViewExecutable; /** * Implements hook_entity_bundle_create().