ContentModule::canCreate
This function should return true if the current user can create new pages of this class. It can be overloaded to customise the security model for an application.
Denies permission if any of the following conditions is TRUE: - canCreate() returns FALSE on any extension - $can_create is set to FALSE and the site is not in "dev mode"
Signature
public function canCreate([Member
$member = NULL] )
Parameters
$member
— object
Returns
- boolean
- True if the current user can create pages on this class.