Drupal::typedDataManager

public static Drupal::typedDataManager()

Returns the typed data manager service.

Use the typed data manager service for creating typed data objects.

Return value

\Drupal\Core\TypedData\TypedDataManagerInterface The typed data manager.

See also

\Drupal\Core\TypedData\TypedDataManager::create()

File

core/lib/Drupal.php, line 484
Contains \Drupal.

Class

Drupal
Static Service Container wrapper.

Code

public static function typedDataManager() {
  return static::getContainer()->get('typed_data_manager');
}
doc_Drupal
2016-10-29 09:02:50
Comments
Leave a Comment

Please login to continue.