Archived video

This video is archived and won't be updated. We're keeping it online for now as a courtesy.

Install Webprofiler and Identify Controllers

Video loading...

Transcripts: 
Transcript language code: 
eng
Transcript language code: 
por_br

Join Drupalize.Me to watch this video

Join today and gain instant access to our entire video library.

Log in Sign up
  • 0:09
    Google this time for drupal devel.
  • 0:13
    It will take you to a project on Drupal.org
  • 0:15
    that has some nice tools in it.
  • 0:17
    What we're after is the Webprofiler module.
  • 0:21
    Copy the installation link address so we can install it.
  • 0:24
    In the future you should be able to install modules via Composer.
  • 0:28
    More on that later.
  • 0:31
    For now, click Install new module.
  • 0:34
    Paste the URL, press the Install button,
  • 0:37
    and wait with great anticipation.
  • 0:09
    Pesquise no Google "drupal devel".
  • 0:13
    Irá levar você a um projeto no Drupal.org
  • 0:15
    que tem algumas ferramentas legais.
  • 0:17
    O que nós estamos procurando é o módulo Webprofiler.
  • 0:21
    Copie o endereço do link de instalação para que possamos instalar isso.
  • 0:24
    No futuro você será capaz de instalar módulos através do Composer.
  • 0:28
    Falaremos mais sobre isso depois.
  • 0:31
    Por agora, clice em Instalar novo módulo.
  • 0:34
    Cole a URL, pressione o botão Instalar,
  • 0:37
    e espere com grande antecipação.

Install Webprofiler and Identify Controllers

Loading...

In this tutorial, we'll continue to look under the hood of Drupal 8, this time using a tool bundled with Devel called Webprofiler. You'll learn how to use the web debug toolbar and the profiler. You'll also learn how to reverse engineer a page to find out the names of the controllers responsible for output on that page.

Note: In order to get the Webprofiler timeline view working you need to add some configuration to your settings.php file. See the README.md file included with the Webprofiler module for more information on how to do this.