Initial Drupal 11 with DDEV setup

This commit is contained in:
gluebox
2025-10-08 11:39:17 -04:00
commit 89ef74b305
25344 changed files with 2599172 additions and 0 deletions

View File

@ -0,0 +1,24 @@
# Deny all requests from Apache 2.4+.
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
# Deny all requests from Apache 2.0-2.2.
<IfModule !mod_authz_core.c>
Deny from all
</IfModule>
# Turn off all options we don't need.
Options -Indexes -ExecCGI -Includes -MultiViews
# Set the catch-all handler to prevent scripts from being executed.
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
<Files *>
# Override the handler again if we're run later in the evaluation list.
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2013_003
</Files>
# If we know how to do it safely, disable the PHP engine entirely.
<IfModule mod_php.c>
php_flag engine off
</IfModule>

View File

@ -0,0 +1,144 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;
/* @help_topics/user.update.html.twig */
class __TwigTemplate_41f86e998a26a99c1842a016de82ecc7 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->extensions[SandboxExtension::class];
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
// line 7
$context["people_link_text"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
yield t("People", []);
yield from [];
})())) ? '' : new Markup($tmp, $this->env->getCharset());
// line 8
$context["people_link"] = $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar($this->extensions['Drupal\help\HelpTwigExtension']->getRouteLink(($context["people_link_text"] ?? null), "entity.user.collection"));
// line 9
yield "<h2>";
yield t("Goal", []);
yield "</h2>
<p>";
// line 10
yield t("Update or delete an existing user account.", []);
yield "</p>
<h2>";
// line 11
yield t("Steps", []);
yield "</h2>
<ol>
<li>";
// line 13
yield t("In the <em>Manage</em> administrative menu, navigate to <em>@people_link</em>.", ["@people_link" => $this->env->getExtension(\Drupal\Core\Template\TwigExtension::class)->renderVar(($context["people_link"] ?? null)), ]);
yield "</li>
<li>";
// line 14
yield t("Enter all or part of the user name or email address of the user account you want to update or delete, and click <em>Filter</em>. A short list of user accounts, including the account of interest, should be shown in the table; if not, modify the filter text until you can find the account of interest.", []);
yield "</li>
<li>";
// line 15
yield t("Click <em>Edit</em> in the <em>Operations</em> area of the account of interest.", []);
yield "</li>
<li>";
// line 16
yield t("To delete the user account, scroll to the bottom and click <em>Cancel account</em>. Select what you want to happen to the user's content on the next screen, and click <em>Cancel account</em>.", []);
yield "</li>
<li>";
// line 17
yield t("To update the user account, enter new values in the form and click <em>Save</em>.", []);
yield "</li>
</ol>";
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "@help_topics/user.update.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 81 => 17, 77 => 16, 73 => 15, 69 => 14, 65 => 13, 60 => 11, 56 => 10, 51 => 9, 49 => 8, 44 => 7,);
}
public function getSourceContext(): Source
{
return new Source("", "@help_topics/user.update.html.twig", "/var/www/html/web/core/modules/user/help_topics/user.update.html.twig");
}
public function checkSecurity()
{
static $tags = ["set" => 7, "trans" => 7];
static $filters = ["escape" => 13];
static $functions = ["render_var" => 8, "help_route_link" => 8];
try {
$this->sandbox->checkSecurity(
['set', 'trans'],
['escape'],
['render_var', 'help_route_link'],
$this->source
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}