EditForm::buildPath

protected EditForm::buildPath($pid)

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 23

Class

EditForm
Provides the path edit form.

Namespace

Drupal\path\Form

Code

protected function buildPath($pid) {
  return $this->aliasStorage->load(array('pid' => $pid));
}
doc_Drupal
2016-10-29 09:03:35
Comments
Leave a Comment

Please login to continue.