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 | |
use Drupal\Core\DrupalKernel; | |
use Symfony\Component\HttpFoundation\Request; | |
use Drupal\node\Entity\Node; | |
// Bootstrap Drupal. | |
$autoloader = require_once __DIR__ . '/vendor/autoload.php'; | |
$kernel = DrupalKernel::createFromRequest(Request::createFromGlobals(), $autoloader, 'prod'); | |
$kernel->boot(); |
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 | |
/** | |
* @file | |
* Script to help cleanup the not existing permissions from your roles. | |
* | |
* @code | |
* drush scr clean_permissions.php | |
* drush -y cex | |
* @endcode | |
* |
OlderNewer