element_children

Versions
4.7 – 6
element_children($element)
7
element_children(&$elements, $sort = FALSE)

Get keys of a structured array tree element that are not properties (i.e., do not begin with '#').

▾ 39 functions call element_children()

book_admin_edit_submit in modules/book/book.admin.inc
Handle submission of the book administrative page form.
color_form_alter in modules/color/color.module
Implementation of hook_form_alter().
drupal_render in includes/common.inc
Renders HTML given a structured array tree.
filter_form_validate in modules/filter/filter.module
form_builder in includes/form.inc
Walk through the structured form array, adding any required properties to each element and mapping the incoming $_POST data to the proper elements.
forum_overview in modules/forum/forum.admin.inc
Returns an overview list of existing forums and containers
menu_overview_form in modules/menu/menu.admin.inc
Form for editing an entire menu tree at once.
menu_overview_form_submit in modules/menu/menu.admin.inc
Submit handler for the menu overview form.
multipage_form_set_element_visibility in developer/examples/multipage_form_example.module
Set an element's visibility. Elements are gnerally changed to hidden elements. Visibility may be set and reset any number of times.
profile_admin_overview_submit in modules/profile/profile.admin.inc
Submit handler to update changed profile field weights and categories.
system_theme_settings in modules/system/system.admin.inc
Form builder; display theme configuration for entire site and individual themes.
taxonomy_term_confirm_parents in modules/taxonomy/taxonomy.admin.inc
Form builder for the confirmation of multiple term parents.
template_preprocess_block_admin_display_form in modules/block/block.admin.inc
Process variables for block-admin-display.tpl.php.
template_preprocess_search_block_form in modules/search/search.module
Process variables for search-block-form.tpl.php.
template_preprocess_search_theme_form in modules/search/search.module
Process variables for search-theme-form.tpl.php.
template_preprocess_user_profile in modules/user/user.pages.inc
Process variables for user-profile.tpl.php.
theme_aggregator_categorize_items in modules/aggregator/aggregator.pages.inc
Theme the page list form for assigning categories.
theme_book_admin_table in modules/book/book.admin.inc
Theme function for the book administration page form.
theme_color_scheme_form in modules/color/color.module
Theme color form.
theme_comment_admin_overview in modules/comment/comment.admin.inc
Theme the comment admin form.
theme_dblog_filters in modules/dblog/dblog.module
Theme dblog administration filter selector.
theme_filter_admin_order in modules/filter/filter.admin.inc
Theme filter order configuration form.
theme_menu_overview_form in modules/menu/menu.admin.inc
Theme the menu overview form into a table.
theme_multipage_form_example_node_form in developer/examples/multipage_form_example.module
theme_node_admin_nodes in modules/node/node.admin.inc
Theme node administration overview.
theme_node_filters in modules/node/node.admin.inc
Theme node administration filter selector.
theme_node_search_admin in modules/node/node.module
Theme the content ranking part of the search settings admin page.
theme_poll_choices in modules/poll/poll.module
Theme the admin poll form for choices.
theme_profile_admin_overview in modules/profile/profile.admin.inc
Theme the profile field overview into a drag and drop enabled table.
theme_system_modules_uninstall in modules/system/system.admin.inc
Themes a table of currently disabled modules.
theme_system_themes_form in modules/system/system.admin.inc
Theme function for the system themes form.
theme_system_theme_select_form in modules/system/system.admin.inc
Theme the theme select form.
theme_taxonomy_overview_terms in modules/taxonomy/taxonomy.admin.inc
Theme the terms overview as a sortable list of terms.
theme_taxonomy_overview_vocabularies in modules/taxonomy/taxonomy.admin.inc
Theme the vocabulary overview as a sortable list of vocabularies.
theme_upload_form_current in modules/upload/upload.module
Theme the attachments list.
theme_user_admin_account in modules/user/user.admin.inc
Theme user administration overview.
theme_user_admin_perm in modules/user/user.admin.inc
Theme the administer permissions page.
theme_user_filters in modules/user/user.admin.inc
Theme user administration filter selector.
_form_validate in includes/form.inc
Performs validation on form elements. First ensures required fields are completed, #maxlength is not exceeded, and selected options were in the list of options given to the user. Then calls user-defined validators.

Code

includes/common.inc, line 2972

<?php
function element_children($element) {
  return array_filter(array_keys((array) $element), 'element_child');
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.