TypedDataInterface::applyDefaultValue

public TypedDataInterface::applyDefaultValue($notify = TRUE)

Applies the default value.

Parameters

bool $notify: (optional) Whether to notify the parent object of the change. Defaults to TRUE. If a property is updated from a parent object, set it to FALSE to avoid being notified again.

Return value

\Drupal\Core\TypedData\TypedDataInterface Returns itself to allow for chaining.

File

core/lib/Drupal/Core/TypedData/TypedDataInterface.php, line 103

Class

TypedDataInterface
Interface for typed data objects.

Namespace

Drupal\Core\TypedData

Code

public function applyDefaultValue($notify = TRUE);
doc_Drupal
2016-10-29 09:50:02
Comments
Leave a Comment

Please login to continue.