Skip to content

Commit

Permalink
Deployed c6cee19 to 13.x with MkDocs 1.4.3 and mike 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Mar 12, 2024
1 parent 4f442db commit 7b24fc5
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions 13.x/commands/sql_sanitize/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5258,7 +5258,7 @@



<a href="https://github.com/drush-ops/drush/blob/12.x/src/Drupal/Commands/sql/SanitizeCommands.php" title="Edit this page" class="md-content__button md-icon">
<a href="https://github.com/drush-ops/drush/blob/12.x/src/Commands/sql/sanitize/SanitizeCommands.php" title="Edit this page" class="md-content__button md-icon">

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M10 20H6V4h7v5h5v3.1l2-2V8l-6-6H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h4v-2m10.2-7c.1 0 .3.1.4.2l1.3 1.3c.2.2.2.6 0 .8l-1 1-2.1-2.1 1-1c.1-.1.2-.2.4-.2m0 3.9L14.1 23H12v-2.1l6.1-6.1 2.1 2.1Z"/></svg>
</a>
Expand All @@ -5267,7 +5267,7 @@



<a href="https://github.com/drush-ops/drush/raw/12.x/src/Drupal/Commands/sql/SanitizeCommands.php" title="View source of this page" class="md-content__button md-icon">
<a href="https://github.com/drush-ops/drush/raw/12.x/src/Commands/sql/sanitize/SanitizeCommands.php" title="View source of this page" class="md-content__button md-icon">

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17 18c.56 0 1 .44 1 1s-.44 1-1 1-1-.44-1-1 .44-1 1-1m0-3c-2.73 0-5.06 1.66-6 4 .94 2.34 3.27 4 6 4s5.06-1.66 6-4c-.94-2.34-3.27-4-6-4m0 6.5a2.5 2.5 0 0 1-2.5-2.5 2.5 2.5 0 0 1 2.5-2.5 2.5 2.5 0 0 1 2.5 2.5 2.5 2.5 0 0 1-2.5 2.5M9.27 20H6V4h7v5h5v4.07c.7.08 1.36.25 2 .49V8l-6-6H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h4.5a8.15 8.15 0 0 1-1.23-2Z"/></svg>
</a>
Expand All @@ -5280,7 +5280,7 @@ <h1 id="sqlsanitize">sql:sanitize<a class="headerlink" href="#sqlsanitize" title
<div class="highlight"><pre><span></span><code>- `#[CLI\Hook(type: HookManager::ON_EVENT, target: SanitizeCommands::CONFIRMS)]`. Display summary to user before confirmation.
- `#[CLI\Hook(type: HookManager::POST_COMMAND_HOOK, target: SanitizeCommands::SANITIZE)]`. Run queries or call APIs to perform sanitizing
</code></pre></div>
<p>Several working commandfiles may be found at <a href="https://github.com/drush-ops/drush/tree/12.x/src/Drupal/Commands/sql">https://github.com/drush-ops/drush/tree/12.x/src/Drupal/Commands/sql</a></p>
<p>Several working commandfiles may be found at <a href="https://github.com/drush-ops/drush/tree/13.x/src/Commands/sql/sanitize">https://github.com/drush-ops/drush/tree/13.x/src/Commands/sql/sanitize</a></p>
<h4 id="examples">Examples<a class="headerlink" href="#examples" title="Permanent link">&para;</a></h4>
<ul>
<li><code>drush sql:sanitize --sanitize-password=no</code>. Sanitize database without modifying any passwords.</li>
Expand Down
4 changes: 2 additions & 2 deletions 13.x/hooks/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5256,7 +5256,7 @@ <h2 id="core-hooks">Core Hooks<a class="headerlink" href="#core-hooks" title="Pe
<li>To see how core commands implement a hook, you can <a href="https://github.com/drush-ops/drush/search?q=&quot;%40#[CLI\Hook]&quot;&amp;type=Code&amp;utf8=%E2%9C%93">search the Drush source code</a>.</li>
</ul>
<h2 id="custom-hooks">Custom Hooks<a class="headerlink" href="#custom-hooks" title="Permanent link">&para;</a></h2>
<p>Drush commands can define custom events that other command files can hook. You can find examples in <a href="https://github.com/drush-ops/drush/blob/12.x/src/Commands/core/CacheCommands.php">CacheCommands</a> and <a href="https://github.com/drush-ops/drush/blob/12.x/src/Drupal/Commands/sql/SanitizeCommands.php">SanitizeCommands</a></p>
<p>Drush commands can define custom events that other command files can hook. You can find examples in <a href="https://github.com/drush-ops/drush/blob/13.x/src/Commands/core/CacheCommands.php">CacheCommands</a> and <a href="https://github.com/drush-ops/drush/blob/13.x/src/Commands/sql/sanitize/SanitizeCommands.php">SanitizeCommands</a></p>
<p>First, the command must implement CustomEventAwareInterface and use CustomEventAwareTrait, as described in the <a href="../dependency-injection/#inflection">dependency injection</a> documentation.</p>
<p>Then, the command may ask the provided hook manager to return a list of handlers with a certain attribute. In the example below, the <code>my-event</code> label is used:
<div class="highlight"><pre><span></span><code> <span class="sd">/**</span>
Expand Down Expand Up @@ -5308,7 +5308,7 @@ <h2 id="custom-hooks">Custom Hooks<a class="headerlink" href="#custom-hooks" tit
<small>

Last update:
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">March 9, 2024</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">March 12, 2024</span>


</small>
Expand Down
2 changes: 1 addition & 1 deletion 13.x/search/search_index.json

Large diffs are not rendered by default.

Binary file modified 13.x/sitemap.xml.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@
"version": "12.x",
"title": "12.x",
"aliases": [
"latest",
"dev"
"dev",
"latest"
]
},
{
Expand Down

0 comments on commit 7b24fc5

Please sign in to comment.