public function FixedBlockContent::isProtected in Fixed Block Content 8
Gets the protected option.
Return value
bool Boolean indicating that the option is enabled or not.
Overrides FixedBlockContentInterface::isProtected
1 call to FixedBlockContent::isProtected()
- FixedBlockContent::newBlockContent in src/
Entity/ FixedBlockContent.php - Creates a new block content.
File
- src/
Entity/ FixedBlockContent.php, line 285
Class
- FixedBlockContent
- Configuration entity for the fixed block content.
Namespace
Drupal\fixed_block_content\EntityCode
public function isProtected() {
return (bool) $this->protected;
}