AddForm.php in Zircon Profile 8
Same filename and directory in other branches
Contains \Drupal\path\Form\AddForm.
Namespace
Drupal\path\FormFile
core/modules/path/src/Form/AddForm.phpView source
<?php
/**
* @file
* Contains \Drupal\path\Form\AddForm.
*/
namespace Drupal\path\Form;
use Drupal\Core\Language\LanguageInterface;
/**
* Provides the path add form.
*/
class AddForm extends PathFormBase {
/**
* {@inheritdoc}
*/
public function getFormId() {
return 'path_admin_add';
}
/**
* {@inheritdoc}
*/
protected function buildPath($pid) {
return array(
'source' => '',
'alias' => '',
'langcode' => LanguageInterface::LANGCODE_NOT_SPECIFIED,
'pid' => NULL,
);
}
}