lib/Elastica/Node/Info.php
public function getPlugins(): array
    {
        if (!\in_array('plugins', $this->_params, true)) {
            //Plugin data was not retrieved when refresh() was called last. Get it now.
            $this->_params[] = 'plugins';
            $this->refresh($this->_params);
        }

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

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

@return array plugin data

@see https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-info.html
Return data regarding plugins installed on this node .