You are here

public function PatternDefinitionSetting::setFormVisible in UI Patterns Settings 8

Same name and namespace in other branches
  1. 8.2 src/Definition/PatternDefinitionSetting.php \Drupal\ui_patterns_settings\Definition\PatternDefinitionSetting::setFormVisible()

Set form visible property.

Parameters

bool $visible: Property value.

Return value

$this

File

src/Definition/PatternDefinitionSetting.php, line 197

Class

PatternDefinitionSetting
Class PatternDefinitionSetting.

Namespace

Drupal\ui_patterns_settings\Definition

Code

public function setFormVisible($visible) {
  $this->definition['form_visible'] = $visible;
  return $this;
}