public static function Custom::trustedCallbacks in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/field/Custom.php \Drupal\views\Plugin\views\field\Custom::trustedCallbacks()
- 9 core/modules/views/src/Plugin/views/field/Custom.php \Drupal\views\Plugin\views\field\Custom::trustedCallbacks()
File
- core/
modules/ views/ src/ Plugin/ views/ field/ Custom.php, line 61
Class
- Custom
- A handler to provide a field that is completely custom by the administrator.
Namespace
Drupal\views\Plugin\views\fieldCode
public static function trustedCallbacks() {
$callbacks = parent::trustedCallbacks();
$callbacks[] = 'preRenderCustomForm';
return $callbacks;
}