Browse Source

Updating language

pull/745/head
dannylamb 5 years ago
parent
commit
93a84c620e
  1. 2
      src/Plugin/Condition/MediaHasTerm.php
  2. 4
      src/Plugin/Condition/NodeHasTerm.php
  3. 2
      src/Plugin/Condition/ParentNodeHasTerm.php

2
src/Plugin/Condition/MediaHasTerm.php

@ -7,7 +7,7 @@ namespace Drupal\islandora\Plugin\Condition;
*
* @Condition(
* id = "media_has_term",
* label = @Translation("Media has term"),
* label = @Translation("Media has term with URI"),
* context = {
* "media" = @ContextDefinition("entity:media", required = TRUE , label = @Translation("media"))
* }

4
src/Plugin/Condition/NodeHasTerm.php

@ -15,7 +15,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
*
* @Condition(
* id = "node_has_term",
* label = @Translation("Node has term"),
* label = @Translation("Node has term with URI"),
* context = {
* "node" = @ContextDefinition("entity:node", required = TRUE , label = @Translation("node"))
* }
@ -104,7 +104,7 @@ class NodeHasTerm extends ConditionPluginBase implements ContainerFactoryPluginI
$form['term'] = [
'#type' => 'entity_autocomplete',
'#title' => $this->t('Term'),
'#description' => $this->t('Terms need an Authority Link or External Uri to be compatible with this Condition. If the term you are looking for is not appearing in the autocomplete, please ensure it has a value for its Authority Link or External Uri field.'),
'#description' => $this->t('Only terms that have external URIs/URLs will appear here.'),
'#tags' => TRUE,
'#default_value' => $default,
'#target_type' => 'taxonomy_term',

2
src/Plugin/Condition/ParentNodeHasTerm.php

@ -7,7 +7,7 @@ namespace Drupal\islandora\Plugin\Condition;
*
* @Condition(
* id = "parent_node_has_term",
* label = @Translation("Parent node for media has term"),
* label = @Translation("Parent node for media has term with URI"),
* context = {
* "media" = @ContextDefinition("entity:media", required = TRUE , label = @Translation("media"))
* }

Loading…
Cancel
Save