You are here

function LinkitPlugin::__construct in Linkit 7.2

Initialize this plugin with the plugin and the profile.

Parameters

array $plugin: The plugin array.

object $profile: The Linkit profile object.

1 call to LinkitPlugin::__construct()
LinkitPluginEntity::__construct in plugins/linkit_plugins/linkit-plugin-entity.class.php
Initialize this plugin with the plugin, profile, and entity specific variables.
1 method overrides LinkitPlugin::__construct()
LinkitPluginEntity::__construct in plugins/linkit_plugins/linkit-plugin-entity.class.php
Initialize this plugin with the plugin, profile, and entity specific variables.

File

plugins/plugin.class.php, line 34
Linkit Plugin interface.

Class

LinkitPlugin
LinkitPlugin.

Code

function __construct($plugin, $profile) {
  $this->plugin = $plugin;
  $this->profile = $profile;
}