Skip to content
Snippets Groups Projects
Verified Commit e1876584 authored by Théodore Biadala's avatar Théodore Biadala
Browse files

Issue #3498302 by quietone, borisson_: Fix 'Drupal.Commenting.ClassComment.Missing' in modules

parent 9c7b3cbf
No related branches found
No related tags found
1 merge request!2964Issue #2865710 : Dependencies from only one instance of a widget are used in display modes
Pipeline #438798 passed with warnings
Pipeline: drupal

#438819

    Pipeline: drupal

    #438809

      Pipeline: drupal

      #438800

        Showing
        with 67 additions and 0 deletions
        ...@@ -110,6 +110,9 @@ public function testLongPlaceholderFiberSuspendingLoop(): void { ...@@ -110,6 +110,9 @@ public function testLongPlaceholderFiberSuspendingLoop(): void {
        } }
        /**
        * Test class for testing fiber placeholders.
        */
        class TurtleLazyBuilder implements TrustedCallbackInterface { class TurtleLazyBuilder implements TrustedCallbackInterface {
        /** /**
        ......
        ...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
        namespace Drupal\block; namespace Drupal\block;
        /**
        * Provides an interface for the block repository.
        */
        interface BlockRepositoryInterface { interface BlockRepositoryInterface {
        /** /**
        ......
        ...@@ -12,6 +12,9 @@ ...@@ -12,6 +12,9 @@
        use Drupal\migrate\Row; use Drupal\migrate\Row;
        use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\DependencyInjection\ContainerInterface;
        /**
        * Determines the block plugin ID.
        */
        #[MigrateProcess('block_plugin_id')] #[MigrateProcess('block_plugin_id')]
        class BlockPluginId extends ProcessPluginBase implements ContainerFactoryPluginInterface { class BlockPluginId extends ProcessPluginBase implements ContainerFactoryPluginInterface {
        ......
        ...@@ -9,6 +9,9 @@ ...@@ -9,6 +9,9 @@
        use Drupal\migrate\Row; use Drupal\migrate\Row;
        use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\DependencyInjection\ContainerInterface;
        /**
        * Determines the region for a block.
        */
        #[MigrateProcess('block_region')] #[MigrateProcess('block_region')]
        class BlockRegion extends StaticMap implements ContainerFactoryPluginInterface { class BlockRegion extends StaticMap implements ContainerFactoryPluginInterface {
        ......
        ...@@ -10,6 +10,9 @@ ...@@ -10,6 +10,9 @@
        use Drupal\Core\Plugin\ContainerFactoryPluginInterface; use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
        use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\DependencyInjection\ContainerInterface;
        /**
        * Determines the theme to use for a block.
        */
        #[MigrateProcess('block_theme')] #[MigrateProcess('block_theme')]
        class BlockTheme extends ProcessPluginBase implements ContainerFactoryPluginInterface { class BlockTheme extends ProcessPluginBase implements ContainerFactoryPluginInterface {
        ......
        ...@@ -13,6 +13,9 @@ ...@@ -13,6 +13,9 @@
        use Drupal\migrate\Row; use Drupal\migrate\Row;
        use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\DependencyInjection\ContainerInterface;
        /**
        * Determines the visibility for a block.
        */
        #[MigrateProcess('block_visibility')] #[MigrateProcess('block_visibility')]
        class BlockVisibility extends ProcessPluginBase implements ContainerFactoryPluginInterface { class BlockVisibility extends ProcessPluginBase implements ContainerFactoryPluginInterface {
        ......
        ...@@ -10,6 +10,9 @@ ...@@ -10,6 +10,9 @@
        use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\DependencyInjection\ContainerInterface;
        use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Request;
        /**
        * Controller routines for custom block routes.
        */
        class BlockContentController extends ControllerBase { class BlockContentController extends ControllerBase {
        /** /**
        ......
        ...@@ -6,6 +6,9 @@ ...@@ -6,6 +6,9 @@
        use Drupal\Component\Plugin\Attribute\Plugin; use Drupal\Component\Plugin\Attribute\Plugin;
        /**
        * Defines the CKEditor5 aspect of CKEditor5 plugin.
        */
        #[\Attribute(\Attribute::TARGET_CLASS)] #[\Attribute(\Attribute::TARGET_CLASS)]
        class CKEditor5AspectsOfCKEditor5Plugin extends Plugin { class CKEditor5AspectsOfCKEditor5Plugin extends Plugin {
        ......
        ...@@ -8,6 +8,9 @@ ...@@ -8,6 +8,9 @@
        use Drupal\Component\Plugin\Attribute\Plugin; use Drupal\Component\Plugin\Attribute\Plugin;
        use Drupal\Core\StringTranslation\TranslatableMarkup; use Drupal\Core\StringTranslation\TranslatableMarkup;
        /**
        * Define a Drupal aspects of CKEditor5 plugin.
        */
        #[\Attribute(\Attribute::TARGET_CLASS)] #[\Attribute(\Attribute::TARGET_CLASS)]
        class DrupalAspectsOfCKEditor5Plugin extends Plugin { class DrupalAspectsOfCKEditor5Plugin extends Plugin {
        ......
        ...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
        use Drupal\editor\EditorInterface; use Drupal\editor\EditorInterface;
        use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\DependencyInjection\ContainerInterface;
        /**
        * Config action plugin to add an item to the toolbar.
        *
        * @internal
        * This API is experimental.
        */
        #[ConfigAction( #[ConfigAction(
        id: 'editor:addItemToToolbar', id: 'editor:addItemToToolbar',
        admin_label: new TranslatableMarkup('Add an item to a CKEditor 5 toolbar'), admin_label: new TranslatableMarkup('Add an item to a CKEditor 5 toolbar'),
        ......
        ...@@ -13,6 +13,9 @@ ...@@ -13,6 +13,9 @@
        use Drupal\Core\StringTranslation\StringTranslationTrait; use Drupal\Core\StringTranslation\StringTranslationTrait;
        use Drupal\user\EntityOwnerInterface; use Drupal\user\EntityOwnerInterface;
        /**
        * Service for storing and retrieving comment statistics.
        */
        class CommentStatistics implements CommentStatisticsInterface { class CommentStatistics implements CommentStatisticsInterface {
        use StringTranslationTrait; use StringTranslationTrait;
        ......
        ...@@ -8,6 +8,12 @@ ...@@ -8,6 +8,12 @@
        use Drupal\Core\Config\Action\ConfigActionPluginInterface; use Drupal\Core\Config\Action\ConfigActionPluginInterface;
        use Drupal\Core\StringTranslation\TranslatableMarkup; use Drupal\Core\StringTranslation\TranslatableMarkup;
        /**
        * Test config action for testing duplicating a config action.
        *
        * @internal
        * This API is experimental.
        */
        #[ConfigAction( #[ConfigAction(
        id: 'config_action_duplicate_test:config_test.dynamic:setProtectedProperty', id: 'config_action_duplicate_test:config_test.dynamic:setProtectedProperty',
        admin_label: new TranslatableMarkup('A duplicate config action'), admin_label: new TranslatableMarkup('A duplicate config action'),
        ......
        ...@@ -9,6 +9,9 @@ ...@@ -9,6 +9,9 @@
        use Drupal\Core\State\StateInterface; use Drupal\Core\State\StateInterface;
        use Symfony\Component\EventDispatcher\EventSubscriberInterface; use Symfony\Component\EventDispatcher\EventSubscriberInterface;
        /**
        * Event subscriber for testing configuration collection.
        */
        class EventSubscriber implements EventSubscriberInterface { class EventSubscriber implements EventSubscriberInterface {
        /** /**
        ......
        ...@@ -10,6 +10,9 @@ ...@@ -10,6 +10,9 @@
        use Drupal\Core\State\StateInterface; use Drupal\Core\State\StateInterface;
        use Symfony\Component\EventDispatcher\EventSubscriberInterface; use Symfony\Component\EventDispatcher\EventSubscriberInterface;
        /**
        * Event subscriber for testing configuration events.
        */
        class EventSubscriber implements EventSubscriberInterface { class EventSubscriber implements EventSubscriberInterface {
        /** /**
        ......
        ...@@ -7,6 +7,9 @@ ...@@ -7,6 +7,9 @@
        use Drupal\Core\Config\Entity\ConfigEntityStorage; use Drupal\Core\Config\Entity\ConfigEntityStorage;
        use Drupal\Core\Config\Config; use Drupal\Core\Config\Config;
        /**
        * Storage class for testing configuration entity storage.
        */
        class ConfigTestStorage extends ConfigEntityStorage { class ConfigTestStorage extends ConfigEntityStorage {
        /** /**
        ......
        ...@@ -12,6 +12,10 @@ ...@@ -12,6 +12,10 @@
        use Drupal\workflows\WorkflowInterface; use Drupal\workflows\WorkflowInterface;
        use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\DependencyInjection\ContainerInterface;
        /**
        * @internal
        * This API is experimental.
        */
        #[ConfigAction( #[ConfigAction(
        id: 'add_moderation', id: 'add_moderation',
        entity_types: ['workflow'], entity_types: ['workflow'],
        ......
        ...@@ -14,6 +14,9 @@ ...@@ -14,6 +14,9 @@
        use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\DependencyInjection\ContainerInterface;
        use Symfony\Component\String\Inflector\EnglishInflector; use Symfony\Component\String\Inflector\EnglishInflector;
        /**
        * Deriver for moderation config actions plugins.
        */
        final class AddModerationDeriver extends DeriverBase implements ContainerDeriverInterface { final class AddModerationDeriver extends DeriverBase implements ContainerDeriverInterface {
        use StringTranslationTrait; use StringTranslationTrait;
        ......
        ...@@ -12,6 +12,9 @@ ...@@ -12,6 +12,9 @@
        use Drupal\migrate_drupal\Plugin\MigrateFieldPluginManagerInterface; use Drupal\migrate_drupal\Plugin\MigrateFieldPluginManagerInterface;
        use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\DependencyInjection\ContainerInterface;
        /**
        * Determines the field type for a field.
        */
        #[MigrateProcess('field_type')] #[MigrateProcess('field_type')]
        class FieldType extends StaticMap implements ContainerFactoryPluginInterface { class FieldType extends StaticMap implements ContainerFactoryPluginInterface {
        ......
        ...@@ -7,6 +7,9 @@ ...@@ -7,6 +7,9 @@
        use Drupal\migrate\ProcessPluginBase; use Drupal\migrate\ProcessPluginBase;
        use Drupal\migrate\Row; use Drupal\migrate\Row;
        /**
        * Determines the default values for a field instance.
        */
        #[MigrateProcess('d7_field_instance_defaults')] #[MigrateProcess('d7_field_instance_defaults')]
        class FieldInstanceDefaults extends ProcessPluginBase { class FieldInstanceDefaults extends ProcessPluginBase {
        ......
        ...@@ -7,6 +7,9 @@ ...@@ -7,6 +7,9 @@
        use Drupal\migrate\ProcessPluginBase; use Drupal\migrate\ProcessPluginBase;
        use Drupal\migrate\Row; use Drupal\migrate\Row;
        /**
        * Determines the field settings values for a field.
        */
        #[MigrateProcess('d7_field_settings')] #[MigrateProcess('d7_field_settings')]
        class FieldSettings extends ProcessPluginBase { class FieldSettings extends ProcessPluginBase {
        ......
        0% Loading or .
        You are about to add 0 people to the discussion. Proceed with caution.
        Finish editing this message first!
        Please register or to comment