Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions src/Ui/ControlPanel/Component/Section/Section.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,37 @@ class Section implements SectionInterface
* @var bool
*/
protected $hidden = false;

/**
* Heading Flag
*
* @var bool
*/
protected $heading_only = false;

/**
* Get the heading_only flag.
*
* @return boolean
*/
public function isHeadingOnly()
{
return $this->heading_only;
}

/**
* Set the heading_only.
*
* @param $heading_only
* @return $this
*/
public function setHeadingOnly($flag)
{
$this->heading_only = $flag;

return $this;
}

/**
* Get the slug.
*
Expand Down