Updated all the contrib modules to their latest versions.
[yaffs-website] / web / modules / contrib / paragraphs / tests / modules / paragraphs_test / src / Plugin / paragraphs / Behavior / TestDummyBehavior.php
diff --git a/web/modules/contrib/paragraphs/tests/modules/paragraphs_test/src/Plugin/paragraphs/Behavior/TestDummyBehavior.php b/web/modules/contrib/paragraphs/tests/modules/paragraphs_test/src/Plugin/paragraphs/Behavior/TestDummyBehavior.php
deleted file mode 100644 (file)
index fbb36c5..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-
-namespace Drupal\paragraphs_test\Plugin\paragraphs\Behavior;
-
-use Drupal\Core\Entity\Display\EntityViewDisplayInterface;
-use Drupal\Core\Form\FormStateInterface;
-use Drupal\paragraphs\Entity\Paragraph;
-use Drupal\paragraphs\ParagraphInterface;
-use Drupal\paragraphs\ParagraphsBehaviorBase;
-
-/**
- * Provides a test feature plugin.
- *
- * @ParagraphsBehavior(
- *   id = "test_dummy_behavior",
- *   label = @Translation("Test dummy plugin"),
- *   description = @Translation("Test dummy plugin"),
- *   weight = 2
- * )
- */
-class TestDummyBehavior extends ParagraphsBehaviorBase {
-
-  /**
-   * {@inheritdoc}
-   */
-  public function view(array &$build, Paragraph $paragraphs_entity, EntityViewDisplayInterface $display, $view_mode) {
-    $build['#attributes']['class'][] = 'dummy_plugin_text';
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function buildBehaviorForm(ParagraphInterface $paragraph, array &$form, FormStateInterface $form_state) {
-    // Used to test that returning NULL does not return an error.
-    return NULL;
-  }
-}