weight_value |
function |
core/includes/form.inc |
Sets the value for a weight element, with zero as a default. |
jsweights.css |
file |
modules/examples/js_example/css/jsweights.css |
div#js-weights div {
font-size: 20px;
font-weight: bold;
} |
module_set_weight |
function |
core/includes/module.inc |
Set the weight of a module in the 'system' table, thereby determining the
order in which its hooks will be executed in relation to other modules. |
_views_weight_sort |
function |
core/modules/views_ui/views_ui.admin.inc |
|
drupal_sort_weight |
function |
core/includes/drupal.inc |
Sorts a structured array by 'weight' key (no # prefix). |
form_process_weight |
function |
core/includes/form.inc |
Expands a weight element into a select element. |
field_info_max_weight |
function |
core/modules/field/field.info.inc |
Returns the maximum weight of all the components in an entity. |
js_example_js_weights |
function |
modules/examples/js_example/js_example.module |
Weights demonstration. |
TaxonomyTerm::$weight |
property |
core/modules/taxonomy/taxonomy.entity.inc |
(optional) The weight of this term in relation to other terms of the same
vocabulary. |
LayoutMenuItem::$weight |
property |
core/modules/layout/includes/layout_menu_item.class.inc |
The weight of this menu item. |
_file_sort_weight_label |
function |
core/modules/file/file.admin.inc |
User sort function to sort by weight, then label/name. |
DRUPAL_WEIGHT_SELECT_MAX |
constant |
core/includes/drupal.inc |
|
views_ui_add_microweights |
function |
core/modules/views_ui/views_ui.admin.inc |
Recursively adds microweights to a render array, similar to what form_builder() does for forms. |
BACKDROP_WEIGHT_SELECT_MAX |
constant |
core/modules/system/system.module |
Maximum number of values in a weight select element. |
hook_field_info_max_weight |
function |
core/modules/field/field.api.php |
Returns the maximum weight for the entity components handled by the module. |
_file_sort_array_by_weight |
function |
core/modules/file/file.module |
Sorts an array by weight. |
TaxonomyVocabulary::$weight |
property |
core/modules/taxonomy/taxonomy_vocabulary.class.inc |
(optional) The weight of this vocabulary in relation to other vocabularies. |
_menu_get_menu_weight_delta |
function |
core/modules/menu/menu.module |
Calculate the delta for the weight element for a given set of menus. |
GraphUnitTest::assertWeights |
function |
core/modules/simpletest/tests/graph.test |
Verify expected order in a graph. |
UserRoleAdminTestCase::testRoleWeightChange |
function |
core/modules/user/tests/user.test |
Test user role weight change operation. |
CommonJavaScriptTestCase::testDifferentWeight |
function |
core/modules/simpletest/tests/common.test |
Test adding a JavaScript file with a different weight. |
CommonJavaScriptTestCase::testRenderDifferentWeight |
function |
core/modules/simpletest/tests/common.test |
Test rendering the JavaScript with a file's weight above jQuery's. |