Documentation for hook_element_info() is very outdated, talks only about Form API, does not document #theme, #theme_wrappers

Created on 27 July 2011, about 13 years ago
Updated 30 June 2024, 2 months ago

The API doc for hook_element_info() is extremely outdated---it only talks about form elements (even though the "elements" provided through this hook are now types for renderable arrays, cf. system_element_info() and http://drupal.org/node/930760 .

It also does not document the vital #theme and #theme_wrapper properties that are used in such more general elements.

I'd be willing to roll a patch in the next couple of days to get the doc for this function updated, unless someone more experienced than me wants to step in.

📌 Task
Status

Closed: outdated

Version

11.0 🔥

Component
Documentation 

Last updated less than a minute ago

No maintainer
Created by

🇩🇪Germany sven.lauer Frankfurt

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024