function Custom::trustedCallbacks

Overrides PluginBase::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\field

Code

public static function trustedCallbacks() {
  $callbacks = parent::trustedCallbacks();
  $callbacks[] = 'preRenderCustomForm';
  return $callbacks;
}

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