From 834c4d89a8ba5fcf9c016baa698a1a9c246d446e Mon Sep 17 00:00:00 2001 From: Yuvraj Singh Date: Wed, 1 Jul 2015 19:55:13 +0530 Subject: [PATCH] Create Plugins to test embed module --- .../embedtype_annoatation_entity_test.info.yml | 6 ++++++ .../Plugin/EmbedType/EmbedCategoryEmbed.php | 18 ++++++++++++++++++ .../embedtype_annoatation_url1_test.info.yml | 6 ++++++ .../src/Plugin/EmbedType/EmbedCategoryUrl1.php | 18 ++++++++++++++++++ .../embedtype_annoatation_url2_test.info.yml | 6 ++++++ .../src/Plugin/EmbedType/EmbedCategoryUrl2.php | 18 ++++++++++++++++++ 6 files changed, 72 insertions(+) create mode 100644 test/modules/embedtype_annoatation_entity_test/embedtype_annoatation_entity_test.info.yml create mode 100644 test/modules/embedtype_annoatation_entity_test/src/Plugin/EmbedType/EmbedCategoryEmbed.php create mode 100644 test/modules/embedtype_annoatation_url1_test/embedtype_annoatation_url1_test.info.yml create mode 100644 test/modules/embedtype_annoatation_url1_test/src/Plugin/EmbedType/EmbedCategoryUrl1.php create mode 100644 test/modules/embedtype_annoatation_url2_test/embedtype_annoatation_url2_test.info.yml create mode 100644 test/modules/embedtype_annoatation_url2_test/src/Plugin/EmbedType/EmbedCategoryUrl2.php diff --git a/test/modules/embedtype_annoatation_entity_test/embedtype_annoatation_entity_test.info.yml b/test/modules/embedtype_annoatation_entity_test/embedtype_annoatation_entity_test.info.yml new file mode 100644 index 0000000..183ba3b --- /dev/null +++ b/test/modules/embedtype_annoatation_entity_test/embedtype_annoatation_entity_test.info.yml @@ -0,0 +1,6 @@ +name: 'EmbedType Annotation Entity test' +type: module +description: 'Support module for the Embed module tests.' +core: 8.x +package: Testing +version: VERSION diff --git a/test/modules/embedtype_annoatation_entity_test/src/Plugin/EmbedType/EmbedCategoryEmbed.php b/test/modules/embedtype_annoatation_entity_test/src/Plugin/EmbedType/EmbedCategoryEmbed.php new file mode 100644 index 0000000..5b66dff --- /dev/null +++ b/test/modules/embedtype_annoatation_entity_test/src/Plugin/EmbedType/EmbedCategoryEmbed.php @@ -0,0 +1,18 @@ +