You are here

public function SearchContentForm::getFormId in Open Social 8.7

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_search/src/Form/SearchContentForm.php \Drupal\social_search\Form\SearchContentForm::getFormId()
  2. 8 modules/social_features/social_search/src/Form/SearchContentForm.php \Drupal\social_search\Form\SearchContentForm::getFormId()
  3. 8.2 modules/social_features/social_search/src/Form/SearchContentForm.php \Drupal\social_search\Form\SearchContentForm::getFormId()
  4. 8.3 modules/social_features/social_search/src/Form/SearchContentForm.php \Drupal\social_search\Form\SearchContentForm::getFormId()
  5. 8.4 modules/social_features/social_search/src/Form/SearchContentForm.php \Drupal\social_search\Form\SearchContentForm::getFormId()
  6. 8.5 modules/social_features/social_search/src/Form/SearchContentForm.php \Drupal\social_search\Form\SearchContentForm::getFormId()
  7. 8.6 modules/social_features/social_search/src/Form/SearchContentForm.php \Drupal\social_search\Form\SearchContentForm::getFormId()
  8. 8.8 modules/social_features/social_search/src/Form/SearchContentForm.php \Drupal\social_search\Form\SearchContentForm::getFormId()
  9. 10.3.x modules/social_features/social_search/src/Form/SearchContentForm.php \Drupal\social_search\Form\SearchContentForm::getFormId()
  10. 10.0.x modules/social_features/social_search/src/Form/SearchContentForm.php \Drupal\social_search\Form\SearchContentForm::getFormId()
  11. 10.1.x modules/social_features/social_search/src/Form/SearchContentForm.php \Drupal\social_search\Form\SearchContentForm::getFormId()
  12. 10.2.x modules/social_features/social_search/src/Form/SearchContentForm.php \Drupal\social_search\Form\SearchContentForm::getFormId()

Returns a unique string identifying the form.

The returned ID should be a unique string that can be a valid PHP function name, since it's used in hook implementation names such as hook_form_FORM_ID_alter().

Return value

string The unique string identifying the form.

Overrides FormInterface::getFormId

File

modules/social_features/social_search/src/Form/SearchContentForm.php, line 50

Class

SearchContentForm
Class SearchContentForm.

Namespace

Drupal\social_search\Form

Code

public function getFormId() {
  return 'search_content_form';
}