'#type' => 'contextual_links_placeholder',
'#id' => _contextual_links_to_id($contextual_links),
];
- return drupal_render($element);
+ return \Drupal::service('renderer')->render($element);
}
else {
return '';
/**
* {@inheritdoc}
*/
- public function query() { }
+ public function query() {}
}