function ExecutionContext::markObjectAsInitialized

Same name in other branches
  1. 9 core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php \Drupal\Core\TypedData\Validation\ExecutionContext::markObjectAsInitialized()
  2. 8.9.x core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php \Drupal\Core\TypedData\Validation\ExecutionContext::markObjectAsInitialized()
  3. 10 core/lib/Drupal/Core/Validation/ExecutionContext.php \Drupal\Core\Validation\ExecutionContext::markObjectAsInitialized()

File

core/lib/Drupal/Core/Validation/ExecutionContext.php, line 233

Class

ExecutionContext
Defines an execution context class.

Namespace

Drupal\Core\Validation

Code

public function markObjectAsInitialized(string $cacheKey) : void {
    throw new \LogicException(ExecutionContextInterface::class . '::markObjectAsInitialized is unsupported.');
}

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