Skip to content
Snippets Groups Projects

Issue 3150381: Allow TOC in block, when the node does not contain 'body' field

Closed Winn Jewett requested to merge issue/toc_filter-3150381:3150381-only-works-with into 8.x-2.x

Closes #3150381

  • Remove test for $node->hasField('body') from TocFilterBlock.php blockAccess, which allows the block to be displayed on nodes that use alternative fields
  • Remove incorrect comment or does not contain a [toc] token return

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
Please register or sign in to reply
Loading