only in patch2: unchanged: --- a/core/includes/common.inc +++ b/core/includes/common.inc @@ -2094,7 +2094,7 @@ function _drupal_add_library($library_name, $every_page = NULL) { * To set up a table to use drag and drop in place of weight select-lists or in * place of a form that contains parent relationships, the form must be themed * into a table. The table must have an ID attribute set. If using - * theme_table(), the ID may be set as follows: + * template_preprocess_table(), the ID may be set as follows: * @code * $table = array( * '#type' => 'table', only in patch2: unchanged: --- a/core/lib/Drupal/Core/Database/Query/TableSortExtender.php +++ b/core/lib/Drupal/Core/Database/Query/TableSortExtender.php @@ -37,7 +37,7 @@ class TableSortExtender extends SelectExtender { * @return \Drupal\Core\Database\Query\SelectInterface * The called object. * - * @see theme_table() + * @see template_preprocess_table() */ public function orderByHeader(array $header) { $this->header = $header; only in patch2: unchanged: --- a/core/lib/Drupal/Core/Entity/EntityListBuilder.php +++ b/core/lib/Drupal/Core/Entity/EntityListBuilder.php @@ -184,7 +184,7 @@ class EntityListBuilder extends EntityHandlerBase implements EntityListBuilderIn /** * {@inheritdoc} * - * Builds the entity listing as renderable array for theme_table(). + * Builds the entity listing as renderable array for template_preprocess_table(). * * @todo Add a link to add a new item to the #empty text. */ only in patch2: unchanged: --- a/core/lib/Drupal/Core/Entity/Query/QueryInterface.php +++ b/core/lib/Drupal/Core/Entity/Query/QueryInterface.php @@ -149,7 +149,7 @@ * Enables sortable tables for this query. * * @param $headers - * An array of headers of the same structure as described in theme_table(). + * An array of headers of the same structure as described in template_preprocess_table(). * Use a 'specifier' in place of a 'field' to specify what to sort on. * This can be an entity or a field as described in condition(). * @return \Drupal\Core\Entity\Query\QueryInterface only in patch2: unchanged: --- a/core/lib/Drupal/Core/Render/Element/Table.php +++ b/core/lib/Drupal/Core/Render/Element/Table.php @@ -234,10 +234,10 @@ class Table extends FormElement { } /** - * #pre_render callback to transform children of an element into #rows suitable for theme_table(). + * #pre_render callback to transform children of an element into #rows suitable for template_preprocess_table(). * * This function converts sub-elements of an element of #type 'table' to be - * suitable for theme_table(): + * suitable for template_preprocess_table(): * - The first level of sub-elements are table rows. Only the #attributes * property is taken into account. * - The second level of sub-elements is converted into columns for the @@ -294,7 +294,7 @@ class Table extends FormElement { * * @return array * - * @see theme_table() + * @see template_preprocess_table() * @see drupal_process_attached() * @see drupal_attach_tabledrag() */ only in patch2: unchanged: --- a/core/lib/Drupal/Core/Render/Element/Tableselect.php +++ b/core/lib/Drupal/Core/Render/Element/Tableselect.php @@ -132,7 +132,7 @@ class Tableselect extends Table { // Render the checkbox / radio element. $row['data'][] = drupal_render($element[$key]); - // As theme_table only maps header and row columns by order, create the + // As template_preprocess_table() only maps header and row columns by order, create the // correct order by iterating over the header fields. foreach ($element['#header'] as $fieldname => $title) { // A row cell can span over multiple headers, which means less row cells only in patch2: unchanged: --- a/core/modules/config_translation/src/Controller/ConfigTranslationMapperList.php +++ b/core/modules/config_translation/src/Controller/ConfigTranslationMapperList.php @@ -46,7 +46,7 @@ class ConfigTranslationMapperList extends ControllerBase { } /** - * Builds the mappers as a renderable array for theme_table(). + * Builds the mappers as a renderable array for template_preprocess_table(). * * @return array * Renderable array with config translation mappers. only in patch2: unchanged: --- a/core/modules/views/views.api.php +++ b/core/modules/views/views.api.php @@ -826,7 +826,7 @@ function hook_views_query_alter(ViewExecutable $view, QueryPluginBase $query) { * The view object. * * @see \Drupal\views_ui\ViewUI - * @see theme_table() + * @see template_preprocess_table() */ function hook_views_preview_info_alter(array &$rows, ViewExecutable $view) { // Adds information about the tables being queried by the view to the query