You are here

public function TcaSettings::getPublic in Token Content Access 8

Same name and namespace in other branches
  1. 2.0.x 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\Entity

Code

public function getPublic() {
  return $this->public;
}