public static AttachedAssetsInterface::createFromRenderArray(array $render_array)
Creates an AttachedAssetsInterface object from a render array.
array $render_array: A render array.
\Drupal\Core\Asset\AttachedAssetsInterface
\LogicException
public static function createFromRenderArray(array $render_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!Asset!AttachedAssetsInterface.php/function/AttachedAssetsInterface::createFromRenderArray/8.1.x