You are here

public function AutocompletionConfiguration::setDeletable in Search Autocomplete 8

Same name and namespace in other branches
  1. 2.x 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 448

Class

AutocompletionConfiguration
Defines the autocompletion_configuration entity.

Namespace

Drupal\search_autocomplete\Entity

Code

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