Elastica\Node\Info::getPlugins PHP Method

getPlugins() public method

Return data regarding plugins installed on this node.
public getPlugins ( ) : array
return array plugin data
    public function getPlugins()
    {
        if (!in_array('plugins', $this->_params)) {
            //Plugin data was not retrieved when refresh() was called last. Get it now.
            $this->_params[] = 'plugins';
            $this->refresh($this->_params);
        }
        return $this->get('plugins');
    }