public TypedDataManagerInterface::createInstance($data_type, array $configuration = array())
Instantiates a typed data object.
string $data_type: The data type, for which a typed object should be instantiated.
array $configuration: The plugin configuration array, i.e. an array with the following keys:
\Drupal\Core\TypedData\TypedDataInterface The instantiated typed data object.
Overrides FactoryInterface::createInstance
\Drupal\Core\TypedData\TypedDataManager::create()
public function createInstance($data_type, array $configuration = array());
© 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!TypedDataManagerInterface.php/function/TypedDataManagerInterface::createInstance/8.1.x