Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SecurityPolicyInterface.php

function SecurityPolicyInterface::checkMethodAllowed

Parameters

object $obj:

string $method:

Throws

SecurityNotAllowedMethodError

2 methods override SecurityPolicyInterface::checkMethodAllowed()
SecurityPolicy::checkMethodAllowed in vendor/twig/twig/src/Sandbox/SecurityPolicy.php
TwigSandboxPolicy::checkMethodAllowed in core/lib/Drupal/Core/Template/TwigSandboxPolicy.php

File

vendor/twig/twig/src/Sandbox/SecurityPolicyInterface.php, line 36

Class

SecurityPolicyInterface
Interface that all security policy classes must implements.

Namespace

Twig\Sandbox

Code

public function checkMethodAllowed($obj, $method) : void;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal