Commit ac8605bf authored by alexpott's avatar alexpott

Issue #2505197 by Arskiainen, jaimeguzman, tstoeckler: Add a @see + docs about...

Issue #2505197 by Arskiainen, jaimeguzman, tstoeckler: Add a @see + docs about language_element_info_alter() to LanguageSelect
parent 8d80b7a4
......@@ -12,7 +12,11 @@
/**
* Provides a form element for selecting a language.
*
* @see \Drupal\Core\Render\Element\Select
* This does not render an actual form element, but always returns the value of
* the default language. It is then extended by Language module via
* language_element_info_alter() to provide a proper language selector.
*
* @see language_element_info_alter()
*
* @FormElement("language_select")
*/
......
......@@ -120,6 +120,9 @@ function language_theme() {
/**
* Implements hook_element_info_alter().
*
* @see \Drupal\Core\Render\Element\LanguageSelect
* @see \Drupal\Core\Render\Element\Select
*/
function language_element_info_alter(&$type) {
// Alter the language_select element so that it will be rendered like a select
......
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