You are here

public function AutocompletionConfiguration::setEditable in Search Autocomplete 2.x

Same name and namespace in other branches
  1. 8 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 485

Class

AutocompletionConfiguration
Defines the autocompletion_configuration entity.

Namespace

Drupal\search_autocomplete\Entity

Code

public function setEditable($editable) {
  $this->editable = $editable;
}