This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Controller. Implements ContainerInjectionInterface | |
*/ | |
namespace Drupal\gurei\Controller; | |
use Drupal\Core\Controller\ControllerBase; | |
use Drupal\Core\DependencyInjection\ContainerInjectionInterface; | |
use Drupal\gurei\Service\CompanyService; | |
use Symfony\Component\DependencyInjection\ContainerInterface; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// This code can be used in a hook_update_n to add a custom pane to an existing display in panelizer. | |
// Example variables used in the code below. | |
$nid = 1; | |
$pane_machine_name = 'my_example_custom_pane'; | |
$region = 'content'; | |
$position = 0; | |