Page MenuHomeWickedGov Phorge

ProtectionFormAddFormFieldsHook.php
No OneTemporary

Size
541 B
Referenced Files
None
Subscribers
None

ProtectionFormAddFormFieldsHook.php

<?php
namespace MediaWiki\Hook;
use MediaWiki\Page\Article;
/**
* @stable to implement
* @ingroup Hooks
*/
interface ProtectionFormAddFormFieldsHook {
/**
* This hook is called after all protection type form fields are added.
*
* @since 1.36
*
* @param Article $article Title being (un)protected
* @param array &$hookFormOptions An array to add form fields to
* @return bool|void True or no return value to continue or false to abort
*/
public function onProtectionFormAddFormFields( $article, &$hookFormOptions );
}

File Metadata

Mime Type
text/x-php
Expires
Sat, May 16, 12:17 (23 h, 30 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
c3/5c/4067709e6db91ab4021ba341914e
Default Alt Text
ProtectionFormAddFormFieldsHook.php (541 B)

Event Timeline