protected AddForm::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/AddForm.php, line 22
Class
- AddForm
- Provides the path add form.
Namespace
Drupal\path\Form
Code
protected function buildPath($pid) {
return array(
'source' => '',
'alias' => '',
'langcode' => LanguageInterface::LANGCODE_NOT_SPECIFIED,
'pid' => NULL,
);
}
Please login to continue.