protected function AddForm::buildPath in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/path/src/Form/AddForm.php \Drupal\path\Form\AddForm::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/ AddForm.php, line 27 - Contains \Drupal\path\Form\AddForm.
Class
- AddForm
- Provides the path add form.
Namespace
Drupal\path\FormCode
protected function buildPath($pid) {
return array(
'source' => '',
'alias' => '',
'langcode' => LanguageInterface::LANGCODE_NOT_SPECIFIED,
'pid' => NULL,
);
}