Incorrect hook_views_data comment

Created on 5 February 2025, 2 months ago

Problem/Motivation

This is an extremely minor issue of documentation. In the commenting for hook_views_data in core/modules/views/views.api.php, these lines are incorrect:

      // Default label for relationship in the UI.
      'label' => t('Example node'),

The correct key is title, like so:

      // Default label for relationship in the UI.
      'title' => t('Example node'),

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

๐Ÿ“Œ Task
Status

Active

Version

11.0 ๐Ÿ”ฅ

Component

views.module

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States maskedjellybean Portland, OR

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024