CRM_Extension_Upgrader_IdentityTrait
Track minimal information which identifies the target extension.
Table of Contents
Properties
- $extensionDir : string
- $extensionName : string
Methods
- getExtensionDir() : string
- getExtensionKey() : string
- init() : mixed
- {@inheritDoc}
Properties
$extensionDir
protected
string
$extensionDir
full path to the extension's source tree
$extensionName
protected
string
$extensionName
eg 'com.example.myextension'
Methods
getExtensionDir()
public
getExtensionDir() : string
Return values
string —Ex: '/var/www/sites/default/ext/org.example.foobar'
getExtensionKey()
public
getExtensionKey() : string
Return values
string —Ex: 'org.example.foobar'
init()
{@inheritDoc}
public
init(array<string|int, mixed> $params) : mixed
Parameters
- $params : array<string|int, mixed>