Score:-4

Which module defines this theme function?

cn flag

The code below uses a theme function defined by another module. Here is my code:

<?php

namespace Drupal\greeting\Controller;

use Drupal\Core\Controller\ControllerBase;

class PanelController extends ControllerBase {

  public function displayPanelPage() {

    $config = $this->config('greeting.settings');
    
    return array(
      '#theme' => 'panel_page',
      '#text' => $config->get('page_text'),
    );
  }

}

Do you know what this module is? Thank you, Alexis Grolot

cn flag
`grep -r panel_page /path/to/my/project`
cn flag
@Clive It shows me this: `'#theme' => 'panel_page'`
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.