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

Breadcrumb

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

function SecurityPolicyInterface::checkPropertyAllowed

Parameters

object $obj:

string $property:

Throws

SecurityNotAllowedPropertyError

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

File

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

Class

SecurityPolicyInterface
Interface that all security policy classes must implements.

Namespace

Twig\Sandbox

Code

public function checkPropertyAllowed($obj, $property) : void;

API Navigation

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