public function Agreement::getVisibilitySetting in Agreement 8.2
Same name and namespace in other branches
- 3.0.x src/Entity/Agreement.php \Drupal\agreement\Entity\Agreement::getVisibilitySetting()
Get the visibility setting.
Return value
int The visibility setting: 0 for match all except, and 1 for match any.
File
- src/
Entity/ Agreement.php, line 140
Class
- Agreement
- Agreement entity.
Namespace
Drupal\agreement\EntityCode
public function getVisibilitySetting() {
$settings = $this
->getSettings();
return $settings['visibility']['settings'];
}