Commit 2e6efcbd authored by alexpott's avatar alexpott

Issue #2113243 by rpayanm, Xano, tstoeckler: Rename...

Issue #2113243 by rpayanm, Xano, tstoeckler: Rename BaseFormIdInterface::getBaseFormID() to BaseFormIdInterface::getBaseFormId()
parent 4a497f5f
......@@ -19,7 +19,7 @@ abstract class ContentEntityConfirmFormBase extends ContentEntityForm implements
/**
* {@inheritdoc}
*/
public function getBaseFormID() {
public function getBaseFormId() {
return $this->entity->getEntityTypeId() . '_confirm_form';
}
......
......@@ -22,7 +22,7 @@ abstract class EntityConfirmFormBase extends EntityForm implements ConfirmFormIn
/**
* {@inheritdoc}
*/
public function getBaseFormID() {
public function getBaseFormId() {
return $this->entity->getEntityTypeId() . '_confirm_form';
}
......
......@@ -57,7 +57,7 @@ public function setOperation($operation) {
/**
* {@inheritdoc}
*/
public function getBaseFormID() {
public function getBaseFormId() {
// Assign ENTITYTYPE_form as base form ID to invoke corresponding
// hook_form_alter(), #validate, #submit, and #theme callbacks, but only if
// it is different from the actual form ID, since callbacks would be invoked
......
......@@ -21,6 +21,6 @@ interface BaseFormIdInterface extends FormInterface {
* @return string|null
* The string identifying the base form or NULL if this is not a base form.
*/
public function getBaseFormID();
public function getBaseFormId();
}
......@@ -145,7 +145,7 @@ public function getFormId($form_arg, FormStateInterface &$form_state) {
// Add the $form_arg as the callback object and determine the form ID.
$form_state->setFormObject($form_arg);
if ($form_arg instanceof BaseFormIdInterface) {
$form_state->addBuildInfo('base_form_id', $form_arg->getBaseFormID());
$form_state->addBuildInfo('base_form_id', $form_arg->getBaseFormId());
}
return $form_arg->getFormId();
}
......
......@@ -58,7 +58,7 @@ public static function create(ContainerInterface $container) {
/**
* {@inheritdoc}
*/
public function getBaseFormID() {
public function getBaseFormId() {
return NULL;
}
......
......@@ -102,7 +102,7 @@ public static function create(ContainerInterface $container) {
/**
* {@inheritdoc}
*/
public function getBaseFormID() {
public function getBaseFormId() {
return 'config_translation_form';
}
......
......@@ -73,7 +73,7 @@ public static function create(ContainerInterface $container) {
/**
* {@inheritdoc}
*/
public function getBaseFormID() {
public function getBaseFormId() {
return 'search_entity_form';
}
......
......@@ -1485,7 +1485,7 @@ class TestEntityForm extends EntityHandlerBase {
/**
* {@inheritdoc}
*/
public function getBaseFormID() {
public function getBaseFormId() {
return 'the_base_form_id';
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment