Same filename and directory in other branches
- 8.9.x core/lib/Drupal/Component/Assertion/Handle.php
- 9 core/lib/Drupal/Component/Assertion/Handle.php
Namespace
Drupal\Component\Assertion
File
core/lib/Drupal/Component/Assertion/Handle.php
View source
<?php
namespace Drupal\Component\Assertion;
trigger_error(__NAMESPACE__ . '\\Handle is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Instead, use assert_options(ASSERT_EXCEPTION, TRUE). See https://www.drupal.org/node/3105918', E_USER_DEPRECATED);
class Handle {
public static function register() {
assert_options(ASSERT_WARNING, FALSE);
assert_options(ASSERT_EXCEPTION, TRUE);
}
}
Classes
Name |
Description |
Handle Deprecated |
Handler for runtime assertion failures. |