public function SettingsForm::access in Lightning Layout 8
Same name and namespace in other branches
- 8.2 src/Form/SettingsForm.php \Drupal\lightning_layout\Form\SettingsForm::access()
Allows access if the Entity Block deriver is available.
Return value
\Drupal\Core\Access\AccessResult Whether access is allowed.
1 string reference to 'SettingsForm::access'
File
- src/
Form/ SettingsForm.php, line 105
Class
- SettingsForm
- The settings form for controlling Lightning Layout's behavior.
Namespace
Drupal\lightning_layout\FormCode
public function access() {
return AccessResult::allowedIf((bool) $this->deriver);
}