Токены

Опубликовано Ksenia-Polo - пт, 11/16/2018 - 22:35

Список обычно на сайте на https://www.drupal.org/node/390482, подробнее

или на странице drupal.org

Alias[comment:node:author:url:alias]The alias of the URL.

Alias[current-page:url:alias]The alias of the URL.

Alias[node:source:url:alias]The alias of the URL.

Alias[node:url:alias]The alias of the URL.

Alias[url:alias]The alias of the URL.

[current-page-path]The URL alias of the current page.

[node-path]The URL alias of the node.

[path]Relative path alias to the referenced node.

[url]Absolute path alias to the referenced node.

 

Advanced tags: Canonical URL[node:metatag:canonical]Preferred page location or URL to help eliminate duplicate content for search engines.

Unaliased URL[comment:url:unaliased]The unaliased URL.

Absolute URL[comment:url:unaliased:absolute]The absolute URL.

Arguments[comment:url:unaliased:args]The specific argument of the current page (e.g. 'arg:1' on the page 'node/1' returns '1').

Brief URL[comment:url:unaliased:brief]The URL without the protocol and trailing backslash.

Relative URL[comment:url:unaliased:relative]The relative URL.

Путь[comment:url:unaliased:path]The path component of the URL.

Путь[comment:url:path]The path component of the URL.

Автор[comment:author]Автор комментария, если он вошел.