summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Stjerneman2017-04-04 23:42:02 +0200
committerEmil Stjerneman2017-04-04 23:42:02 +0200
commit1d1cf13f16f5c08f8e1ef1473ea6a82c1f2ae826 (patch)
treef9c807de84450a23d9b0edf04183e9fd2baa25e0
parentc8cee078c3fb1b9acb8c839dfa14f14e6223e65f (diff)
by anon: Updated Linkit filter description
-rw-r--r--src/Plugin/Filter/LinkitFilter.php11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/Plugin/Filter/LinkitFilter.php b/src/Plugin/Filter/LinkitFilter.php
index fdf19f0..12d5a1c 100644
--- a/src/Plugin/Filter/LinkitFilter.php
+++ b/src/Plugin/Filter/LinkitFilter.php
@@ -14,19 +14,14 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
/**
* Provides a Linkit filter.
*
- * Note this must run before any Xss::filter() calls, because that strips
- * disallowed protocols. That effectively means this must run before the
- * \Drupal\filter\Plugin\Filter\FilterHtml filter. Hence the very low weight.
- *
* @Filter(
* id = "linkit",
- * title = @Translation("Linkit filter"),
- * description = @Translation("Updates content links inserted by Linkit to point to the current URL alias, and have the current title."),
+ * title = @Translation("Linkit URL converter"),
+ * description = @Translation("Updates links inserted by Linkit to point to entity URL aliases."),
* settings = {
* "title" = TRUE,
* },
- * type = Drupal\filter\Plugin\FilterInterface::TYPE_TRANSFORM_REVERSIBLE,
- * weight = -15,
+ * type = Drupal\filter\Plugin\FilterInterface::TYPE_TRANSFORM_REVERSIBLE
* )
*/
class LinkitFilter extends FilterBase implements ContainerFactoryPluginInterface {