public function enabled() {
    $config = $this->config->get('social_lets_connect_usage.settings');
    $usage_data_settings = $config->get('usage_data');

    $plugin_definition = $this->getPluginDefinition();
    if (in_array($plugin_definition['setting'], $usage_data_settings)) {
      return TRUE;
    }
    return FALSE;
  }
public function enabled() {
    $config = $this->config->get('social_lets_connect_usage.settings');
    $usage_data_settings = $config->get('usage_data');

    $plugin_definition = $this->getPluginDefinition();
    if (in_array($plugin_definition['setting'], $usage_data_settings)) {
      return TRUE;
    }
    return FALSE;
  }
public function enabled ( ) { $ config = $ this -> config -> get ( 'social_lets_connect_usage.settings' ) ; $ usage_data_settings = $ config -> get ( 'usage_data' ) ; $ plugin_definition = $ this -> getPluginDefinition ( ) ; if ( in_array ( $ plugin_definition [ 'setting' ] , $ usage_data_settings ) ) { return TRUE ; } return FALSE ; }
Check if this plugin should be enabled.
Check if this plugin should be enabled .