public function TcaSettings::getPublic in Token Content Access 2.0.x
Same name and namespace in other branches
- 8 src/Entity/TcaSettings.php \Drupal\tca\Entity\TcaSettings::getPublic()
Get public indicator.
Public content can be viewed by all users that have token in the URL (regardless of permissions).
Return value
bool TRUE if content is public, FALSE otherwise.
Overrides TcaSettingsInterface::getPublic
File
- src/
Entity/ TcaSettings.php, line 123
Class
- TcaSettings
- Defines the TCA settings entity.
Namespace
Drupal\tca\EntityCode
public function getPublic() {
return $this->public;
}