summaryrefslogtreecommitdiffstatshomepage
path: root/core/modules/responsive_image
diff options
context:
space:
mode:
authorcatch <6915-catch@users.noreply.drupalcode.org>2025-02-18 13:20:02 +0000
committercatch <6915-catch@users.noreply.drupalcode.org>2025-02-18 13:20:02 +0000
commit7c9a85af22e2a0e0e90629f5c3f78d62bddf03f2 (patch)
treef2b6acc82e6c9750c7eeac44bd933c2b35737486 /core/modules/responsive_image
parent367e25f66ff1614cf56ec20d8c8f67435b3c3734 (diff)
downloaddrupal-7c9a85af22e2a0e0e90629f5c3f78d62bddf03f2.tar.gz
drupal-7c9a85af22e2a0e0e90629f5c3f78d62bddf03f2.zip
Issue #3421014 by godotislate, quietone, mstrelan, benjifisher, larowlan, alexpott, berdir: Convert MigrateSource plugin discovery to attributes
Diffstat (limited to 'core/modules/responsive_image')
-rw-r--r--core/modules/responsive_image/src/Plugin/migrate/source/d7/ResponsiveImageStyles.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/modules/responsive_image/src/Plugin/migrate/source/d7/ResponsiveImageStyles.php b/core/modules/responsive_image/src/Plugin/migrate/source/d7/ResponsiveImageStyles.php
index c4a72db0ad9..2dfe877a18d 100644
--- a/core/modules/responsive_image/src/Plugin/migrate/source/d7/ResponsiveImageStyles.php
+++ b/core/modules/responsive_image/src/Plugin/migrate/source/d7/ResponsiveImageStyles.php
@@ -2,6 +2,7 @@
namespace Drupal\responsive_image\Plugin\migrate\source\d7;
+use Drupal\migrate\Attribute\MigrateSource;
use Drupal\migrate\Row;
use Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase;
@@ -14,12 +15,11 @@ use Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase;
* the root of the theme.
*
* @see https://www.drupal.org/docs/8/theming-drupal-8/working-with-breakpoints-in-drupal-8
- *
- * @MigrateSource(
- * id = "d7_responsive_image_styles",
- * source_module = "picture"
- * )
*/
+#[MigrateSource(
+ id: 'd7_responsive_image_styles',
+ source_module: 'picture',
+)]
class ResponsiveImageStyles extends DrupalSqlBase {
/**