highlight invisible items (#2493)
This commit is contained in:
@@ -41,6 +41,11 @@ trait VisibilityTrait
|
||||
return $this->visibility === VisibilityInterface::SHOW_VISIBLE;
|
||||
}
|
||||
|
||||
public function setShowBoth(): void
|
||||
{
|
||||
$this->setVisibility(VisibilityInterface::SHOW_BOTH);
|
||||
}
|
||||
|
||||
public function isShowBoth(): bool
|
||||
{
|
||||
return $this->visibility === VisibilityInterface::SHOW_BOTH;
|
||||
|
||||
Reference in New Issue
Block a user