786 B
786 B
- Since: 2.1
- Description: Hook to add additional predefined properties (
smwInitPropertieswas deprecated with 2.1) - Reference class:
PropertyRegistry.php
Signature
use MediaWiki\MediaWikiServices;
use SMW\PropertyRegistry;
MediaWikiServices::getInstance()->getHookContainer()->register( 'SMW::Property::initProperties', function( PropertyRegistry $propertyRegistry ) {
return true;
} );