public function ExecutionContext::isObjectInitialized

public ExecutionContext::isObjectInitialized($cache_key)

Returns whether an object was initialized.

@internal Used by the validator engine. Should not be called by user code.

Parameters

string $cacheKey The hash of the object:

Return value

bool Whether the object was already initialized

Overrides ExecutionContextInterface::isObjectInitialized

See also

ObjectInitializerInterface

File

core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php, line 305

Class

ExecutionContext
Defines an execution context class.

Namespace

Drupal\Core\TypedData\Validation

Code

public function isObjectInitialized($cache_key) {
  // Not supported, so nothing todo.
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!TypedData!Validation!ExecutionContext.php/function/ExecutionContext::isObjectInitialized/8.1.x