Update to Drupal 8.0.0-beta15. For more information, see: https://www.drupal.org/node/2563023
This commit is contained in:
parent
2720a9ec4b
commit
f3791f1da3
1898 changed files with 54300 additions and 11481 deletions
|
@ -5,7 +5,6 @@
|
|||
* Defines simple link field types.
|
||||
*/
|
||||
|
||||
use Drupal\Component\Utility\SafeMarkup;
|
||||
use Drupal\Core\Routing\RouteMatchInterface;
|
||||
|
||||
/**
|
||||
|
@ -62,9 +61,5 @@ function link_theme() {
|
|||
* - url: A \Drupal\Core\Url object.
|
||||
*/
|
||||
function template_preprocess_link_formatter_link_separate(&$variables) {
|
||||
if (!empty($variables['title'])) {
|
||||
$variables['title'] = SafeMarkup::checkPlain($variables['title']);
|
||||
}
|
||||
|
||||
$variables['link'] = \Drupal::l($variables['url_title'], $variables['url']);
|
||||
}
|
||||
|
|
Reference in a new issue