What is the best solution to trigger something on a particular URL

by Attraktive   Last Updated May 15, 2019 15:07 PM - source

I want to trigger something on a particular url - a modal window for example - (this URL is an internal URL of the site, and is defined in a field of a custom node type) ?

What is the best solution ? a particular hook ? ti subscribe to the KernelEvent Request Event ?

Thanks.

Tags : uri


Related Questions