Skip to content
Snippets Groups Projects
Verified Commit 5221f2e0 authored by quietone's avatar quietone
Browse files

Issue #3504660 by alvar0hurtad0, daniel_mm02, nicxvan, smustgrave: Incorrect...

Issue #3504660 by alvar0hurtad0, daniel_mm02, nicxvan, smustgrave: Incorrect 'label' in hook_views_data example
parent c7ebe845
No related branches found
No related tags found
6 merge requests!11197Issue #3506427 by eduardo morales alberti: Remove responsive_image.ajax from hook,!5423Draft: Resolve #3329907 "Test2",!3478Issue #3337882: Deleted menus are not removed from content type config,!2964Issue #2865710 : Dependencies from only one instance of a widget are used in display modes,!10223132456: Fix issue where views instances are emptied before an ajax request is complete,!579Issue #2230909: Simple decimals fail to pass validation
Pipeline #423816 passed with warnings
Pipeline: drupal

#423850

    Pipeline: drupal

    #423845

      Pipeline: drupal

      #423840

        +4
        ......@@ -317,7 +317,7 @@ function hook_views_data(): array {
        // ID of relationship handler plugin to use.
        'id' => 'standard',
        // Default label for relationship in the UI.
        'label' => t('Example node'),
        'title' => t('Example node'),
        // Description shown within the add relationship handler in the UI.
        'help' => t('Relationship between the node and node field data'),
        ],
        ......@@ -396,7 +396,7 @@ function hook_views_data(): array {
        'id' => 'boolean',
        // Override the generic field title, so that the filter uses a different
        // label in the UI.
        'label' => t('Published'),
        'title' => t('Published'),
        // Override the default BooleanOperator filter handler's 'type' setting,
        // to display this as a "Yes/No" filter instead of a "True/False" filter.
        'type' => 'yes-no',
        ......@@ -517,7 +517,7 @@ function hook_views_data_alter(array &$data) {
        'field' => 'fid',
        // ID of relationship handler plugin to use.
        'id' => 'standard',
        'label' => t('Default label for relationship'),
        'title' => t('Default label for relationship'),
        // Description shown within the add relationship handler in the UI.
        'help' => t('Description of the placeholder field relationship'),
        ],
        ......@@ -557,7 +557,7 @@ function hook_field_views_data(FieldStorageConfigInterface $field_storage): arra
        'id' => 'standard',
        'base' => 'file_managed',
        'base field' => 'target_id',
        'label' => t('image from @field_name', ['@field_name' => $field_storage->getName()]),
        'title' => t('image from @field_name', ['@field_name' => $field_storage->getName()]),
        ];
        }
        ......
        0% Loading or .
        You are about to add 0 people to the discussion. Proceed with caution.
        Please register or to comment