---
title: "Hooks"
manual: "Crawler"
version: "main"
permalink: "https://docs.typo3.org/permalink/tomasnorre/crawler:hooks@main"
source: "Features/Hooks/Index.rst"
rendered: "2026-10-16T17:00:27+00:00"
---

# Hooks {#hooks}

Register the following hooks in [`ext_localconf.php`](https://docs.typo3.org/m/typo3/reference-coreapi/14.3/en-us/ExtensionArchitecture/FileStructure/ExtLocalconf.html#file-extension-ext-localconf-php) of your extension.

## excludeDoktype Hook {#hooks-excludedoktype}

By adding doktype ids to following array you can exclude them from
being crawled:

**packages/my_extension/ext_localconf.php**

```php
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['crawler']['excludeDoktype'][] = <dokTypeId>
```

## pageVeto Hook {#pageveto-hook}

<!-- TODO: no Markdown rendering for "deprecated" -->

Removed in 13.0, please migrate to the PSR-14 Event ModifySkipPageEvent!
