Update Composer, update everything
This commit is contained in:
parent
ea3e94409f
commit
dda5c284b6
19527 changed files with 1135420 additions and 351004 deletions
|
@ -38,6 +38,7 @@ function rdf_help($route_name, RouteMatchInterface $route_match) {
|
|||
* into variables available to theme functions and templates. All Drupal core
|
||||
* themes are coded to be RDFa compatible.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Returns the RDF mapping object associated with a bundle.
|
||||
*
|
||||
|
@ -293,7 +294,6 @@ function _rdf_set_field_rel_attribute(&$variables) {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Implements hook_preprocess_HOOK() for node templates.
|
||||
*/
|
||||
|
@ -329,7 +329,7 @@ function rdf_preprocess_node(&$variables) {
|
|||
'#theme' => 'rdf_metadata',
|
||||
'#metadata' => [$date_attributes],
|
||||
];
|
||||
$variables['metadata'] = drupal_render($rdf_metadata);
|
||||
$variables['metadata'] = \Drupal::service('renderer')->render($rdf_metadata);
|
||||
}
|
||||
|
||||
// Adds RDFa markup annotating the number of comments a node has.
|
||||
|
@ -534,7 +534,7 @@ function rdf_preprocess_comment(&$variables) {
|
|||
if (!empty($variables['content']['comment_body']['#prefix'])) {
|
||||
$rdf_metadata['#suffix'] = $variables['content']['comment_body']['#prefix'];
|
||||
}
|
||||
$variables['content']['comment_body']['#prefix'] = drupal_render($rdf_metadata);
|
||||
$variables['content']['comment_body']['#prefix'] = \Drupal::service('renderer')->render($rdf_metadata);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue