public function AutocompletionConfiguration::setEditable in Search Autocomplete 8
Same name and namespace in other branches
- 2.x src/Entity/AutocompletionConfiguration.php \Drupal\search_autocomplete\Entity\AutocompletionConfiguration::setEditable()
Sets whether the configuration is editable by authorized users. None editable configurations cannot be created from GUI.
Parameters
boolean $editable: TRUE if the configuration is $editable, FALSE otherwise.
Overrides AutocompletionConfigurationInterface::setEditable
File
- src/
Entity/ AutocompletionConfiguration.php, line 434
Class
- AutocompletionConfiguration
- Defines the autocompletion_configuration entity.
Namespace
Drupal\search_autocomplete\EntityCode
public function setEditable($editable) {
$this->editable = $editable;
}