function ElementInfoTestNumberBuilder::trustedCallbacks

Same name in other branches
  1. 11.x core/modules/system/tests/modules/element_info_test/src/ElementInfoTestNumberBuilder.php \Drupal\element_info_test\ElementInfoTestNumberBuilder::trustedCallbacks()

Overrides TrustedCallbackInterface::trustedCallbacks

File

core/modules/system/tests/modules/element_info_test/src/ElementInfoTestNumberBuilder.php, line 17

Class

ElementInfoTestNumberBuilder
Provides a trusted callback to alter the element_info_test number element.

Namespace

Drupal\element_info_test

Code

public static function trustedCallbacks() {
    return [
        'preRender',
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.