Commit 1d1cf13f authored by anon's avatar anon

by anon: Updated Linkit filter description

parent c8cee078
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment