Skip to content
Snippets Groups Projects

Overridden view block title should be set on the view itself

Closes #3461896

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
37 37 table: views_test_data
38 38 field: name
39 39 title: test_view_block
40 footer:
41 area_text_custom:
42 id: area_text_custom
43 table: views
44 field: area_text_custom
45 relationship: none
46 group_type: group
47 admin_label: ''
48 plugin_id: text_custom
49 empty: false
50 content: '<div id="test-view-block--title">[view:title]</div>'
  • Clay Freeman added 1 commit

    added 1 commit

    • 25e8b380 - remove static identifier from view footer; use xpath instead

    Compare with previous version

  • Clay Freeman added 1 commit

    added 1 commit

    • 66a4426d - remove static identifier from view footer; use xpath instead

    Compare with previous version

  • quietone
  • Clay Freeman added 1 commit

    added 1 commit

    • cc39e491 - attempt to revert removal of ::getConfiguration() to see if tests still pass

    Compare with previous version

  • 269 269 'views_label' => 'Custom title',
    270 270 'region' => 'sidebar_first',
    271 271 ]);
    272 $block_title_xpath = $this->assertSession()->buildXPathQuery('//aside[contains(@class, "layout-sidebar-first")]//div[@id = :id]/h2', [
    272 $block_xpath = $this->assertSession()->buildXPathQuery('//aside[contains(@class, "layout-sidebar-first")]//div[@id = :id]', [
  • closed

  • Please register or sign in to reply
    Loading