Issue #2457271 by rteijeiro, Palashvijay4O, Cottser: More cleanup of the 'themeable' documentation group
parent
03931c0b55
commit
03aed6a40c
|
@ -199,7 +199,7 @@ function template_preprocess_language_content_settings_table(&$variables) {
|
|||
* - build: A render element representing a table of bundle content language
|
||||
* settings for a particular entity type.
|
||||
*
|
||||
* @ingroup themable
|
||||
* @ingroup themeable
|
||||
*/
|
||||
function theme_language_content_settings_table($variables) {
|
||||
return '<h4>' . $variables['build']['#title'] . '</h4>' . drupal_render($variables['build']);
|
||||
|
|
|
@ -165,8 +165,6 @@ function theme_responsive_image_formatter($variables) {
|
|||
* - attributes: Associative array of attributes to be placed in the img tag.
|
||||
* - style_name: The name of the style to be used as a fallback image.
|
||||
* - responsive_image_style_id: The ID of the responsive image style.
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
function template_preprocess_responsive_image(&$variables) {
|
||||
// Make sure that width and height are proper values
|
||||
|
|
|
@ -17,8 +17,6 @@ use Drupal\Core\Url;
|
|||
* @param array $variables
|
||||
* An associative array containing:
|
||||
* - data: An array of data about each project's status.
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
function template_preprocess_update_report(&$variables) {
|
||||
$data = $variables['data'];
|
||||
|
@ -127,8 +125,6 @@ function template_preprocess_update_report(&$variables) {
|
|||
* - includes_status: An array of sub-project statuses where the keys are the
|
||||
* shortnames of each project and the values are UPDATE_* integer constants
|
||||
* as defined in update.module.
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
function template_preprocess_update_project_status(&$variables) {
|
||||
// Storing by reference because we are sorting the project values.
|
||||
|
|
|
@ -208,6 +208,8 @@ function template_preprocess_views_view_fields(&$variables) {
|
|||
* - wrapper_suffix: A string added to the end of the fields.
|
||||
*
|
||||
* @see template_preprocess_views_view_fields()
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
function theme_views_view_fields($variables) {
|
||||
$fields = $variables['fields'];
|
||||
|
@ -252,6 +254,8 @@ function template_preprocess_views_view_grouping(&$variables) {
|
|||
* Interesting bits of info:
|
||||
* $field->field_alias says what the raw value in $row will be. Reach it like
|
||||
* this: @code { $row->{$field->field_alias} @endcode
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
function theme_views_view_field($variables) {
|
||||
return $variables['output'];
|
||||
|
|
|
@ -92,6 +92,8 @@ function template_preprocess_views_ui_view_info(&$variables) {
|
|||
|
||||
/**
|
||||
* Theme the build group filter form.
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
function theme_views_ui_build_group_filter_form($variables) {
|
||||
$form = $variables['form'];
|
||||
|
|
Loading…
Reference in New Issue