diff --git a/core/includes/form.inc b/core/includes/form.inc index fd4e5b1..caaaa63 100644 --- a/core/includes/form.inc +++ b/core/includes/form.inc @@ -1517,7 +1517,7 @@ function form_process_container($element, &$form_state) { * and #js_select. The #options property is an array of selection options; * each array element of #options is an array of properties. These * properties can include #attributes, which is added to the - * table row's HTML attributes; see theme_table(). An example of per-row + * table row's HTML attributes; see table.html.twig. An example of per-row * options: * @code * $options = array( @@ -1695,6 +1695,7 @@ function form_process_tableselect($element) { * The processed element. * * @see form_process_tableselect() + * @see form_pre_render_tableselect() */ function form_process_table($element, &$form_state) { if ($element['#tableselect']) { diff --git a/core/modules/comment/src/Form/CommentAdminOverview.php b/core/modules/comment/src/Form/CommentAdminOverview.php index 02f9ac1..b58aa0d 100644 --- a/core/modules/comment/src/Form/CommentAdminOverview.php +++ b/core/modules/comment/src/Form/CommentAdminOverview.php @@ -201,22 +201,15 @@ public function buildForm(array $form, array &$form_state, $type = 'new') { '#title' => $comment->getSubject(), ) + $comment_permalink->toRenderArray(), ), - 'author' => array( - 'data' => $username, - 'class' => array(RESPONSIVE_PRIORITY_MEDIUM), - ), + 'author' => drupal_render($username), 'posted_in' => array( 'data' => array( '#type' => 'link', '#title' => $commented_entity->label(), '#access' => $commented_entity->access('view'), ) + $commented_entity->urlInfo()->toRenderArray(), - 'class' => array(RESPONSIVE_PRIORITY_LOW), - ), - 'changed' => array( - 'data' => $this->date->format($comment->getChangedTime(), 'short'), - 'class' => array(RESPONSIVE_PRIORITY_LOW), ), + 'changed' => $this->date->format($comment->getChangedTime(), 'short'), ); $comment_uri_options = $comment->urlInfo()->getOptions(); $links = array(); diff --git a/core/modules/system/system.module b/core/modules/system/system.module index e156bd7..375f691 100644 --- a/core/modules/system/system.module +++ b/core/modules/system/system.module @@ -546,7 +546,7 @@ function system_element_info() { '#multiple' => TRUE, '#responsive' => TRUE, '#sticky' => FALSE, - '#pre_render' => array('drupal_pre_render_table','form_pre_render_tableselect'), + '#pre_render' => array('drupal_pre_render_table', 'form_pre_render_tableselect'), '#process' => array('form_process_tableselect'), '#options' => array(), '#empty' => '',