public function Agreement::getVisibilitySetting in Agreement 3.0.x
Same name and namespace in other branches
- 8.2 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
- Describes an agreement configuration.
Namespace
Drupal\agreement\EntityCode
public function getVisibilitySetting() {
$settings = $this
->getSettings();
return $settings['visibility']['settings'];
}