Hi,
I try to underdstand how my module.php file works, but I could not find which class are behind this part of code:
public function prepareResourceForm(Event $event)
{
$view = $event->getTarget();
$view->headLink()->appendStylesheet($view->assetUrl(', ));
$view->headScript()->appendFile($view->assetUrl( , ));
$view->headScript()->appendFile($view->assetUrl( .., ));
$view->headScript()->appendScript(sprintf(
'var valueSuggestProxyUrl = "%s";',
$view->escapeJs($view->url('admin/value-suggest/proxy'))
));
}
What I wish to know , from which types are the variables $view , $view->headLink() etc…
any help?