You are here

protected function EditForm::buildPath in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/path/src/Form/EditForm.php \Drupal\path\Form\EditForm::buildPath()

Builds the path used by the form.

Parameters

int|null $pid: Either the unique path ID, or NULL if a new one is being created.

Overrides PathFormBase::buildPath

File

core/modules/path/src/Form/EditForm.php, line 28
Contains \Drupal\path\Form\EditForm.

Class

EditForm
Provides the path edit form.

Namespace

Drupal\path\Form

Code

protected function buildPath($pid) {
  return $this->aliasStorage
    ->load(array(
    'pid' => $pid,
  ));
}