You are here

protected function ConfigIdEscapeTrait::getOriginalConfigId in Search API sorts 8

Get original config id after loading a config entity using an escaped id.

2 calls to ConfigIdEscapeTrait::getOriginalConfigId()
AdminController::redirectEditForm in src/Controller/AdminController.php
Callback for search_api_sorts_field edit form.
ManageSortFieldsForm::buildForm in src/Form/ManageSortFieldsForm.php
Form constructor.

File

src/ConfigIdEscapeTrait.php, line 25

Class

ConfigIdEscapeTrait
Wrapper methods for \Drupal\search_api_sorts\SearchApiSortsField.

Namespace

Drupal\search_api_sorts

Code

protected function getOriginalConfigId($escaped_config_id) {
  return str_replace('---', ':', $escaped_config_id);
}