You are here

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

Same name and namespace in other branches
  1. 8 src/Entity/AutocompletionConfiguration.php \Drupal\search_autocomplete\Entity\AutocompletionConfiguration::setDeletable()

Sets whether the configuration is deletable by authorized users. None deletable configurations cannot be created from GUI.

Parameters

boolean $deletable: TRUE if the configuration is $deletable, FALSE otherwise.

Overrides AutocompletionConfigurationInterface::setDeletable

File

src/Entity/AutocompletionConfiguration.php, line 501

Class

AutocompletionConfiguration
Defines the autocompletion_configuration entity.

Namespace

Drupal\search_autocomplete\Entity

Code

public function setDeletable($deletable) {
  $this->deletable = $deletable;
}