You are here

public static function AdvPollPostRenderCache::trustedCallbacks in Advanced Poll 8

@inheritDoc

Overrides TrustedCallbackInterface::trustedCallbacks

File

src/AdvPollPostRenderCache.php, line 34

Class

AdvPollPostRenderCache
Basically a copy of the original PollPostRenderCache class with factory-style logic for the renderViewForm to select which poll type to display.

Namespace

Drupal\advpoll

Code

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