From 34845d5a82621ca5d96adabbc2e35a90c31b0104 Mon Sep 17 00:00:00 2001 From: Rosie Le Faive Date: Fri, 11 Oct 2019 10:23:56 -0700 Subject: [PATCH] Switch the label and summary of contextReaction map_uri_predicate. --- islandora.iml | 20 +++++++++++++++++++ .../MappingUriPredicateReaction.php | 4 ++-- 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 islandora.iml diff --git a/islandora.iml b/islandora.iml new file mode 100644 index 00000000..d1d2d789 --- /dev/null +++ b/islandora.iml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/Plugin/ContextReaction/MappingUriPredicateReaction.php b/src/Plugin/ContextReaction/MappingUriPredicateReaction.php index 05f2f8c0..76667194 100644 --- a/src/Plugin/ContextReaction/MappingUriPredicateReaction.php +++ b/src/Plugin/ContextReaction/MappingUriPredicateReaction.php @@ -17,7 +17,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface; * * @ContextReaction( * id = "islandora_map_uri_predicate", - * label = @Translation("Map URI to predicate") + * label = @Translation("JSON-LD self-reference") * ) */ class MappingUriPredicateReaction extends NormalizerAlterReaction { @@ -69,7 +69,7 @@ class MappingUriPredicateReaction extends NormalizerAlterReaction { * {@inheritdoc} */ public function summary() { - return $this->t('Map Drupal URI to configured predicate.'); + return $this->t('When creating the JSON-LD for this Drupal entity, add a relationship to itself using this predicate.'); } /**