public function getData(NodeInterface $node = null, array $arguments)
    {
        $data = [];

        foreach ($this->parseListOfIcons() as $iconName) {
            $data['fa-' . $iconName] = [
                'label' => $iconName,
                'icon' => 'fa fa-' . $iconName,
            ];
        }

        return $data;
    }
public function getData(NodeInterface $node = null, array $arguments)
    {
        $data = [];

        foreach ($this->parseListOfIcons() as $iconName) {
            $data['fa-' . $iconName] = [
                'label' => $iconName,
                'icon' => 'fa fa-' . $iconName,
            ];
        }

        return $data;
    }
public function getData ( NodeInterface $ node = null , array $ arguments ) { $ data = [ ] ; foreach ( $ this -> parseListOfIcons ( ) as $ iconName ) { $ data [ 'fa-' . $ iconName ] = [ 'label' => $ iconName , 'icon' => 'fa fa-' . $ iconName , ] ; } return $ data ; }
Get icons list, compiled from FontAwesome variables list

@param NodeInterface $node The node that is currently edited (optional)
@param array $arguments Additional arguments (key / value)
@return array JSON serializable data
Get icons list compiled from FontAwesome variables list