<?php

namespace HeyUpdate\EmojiBundle\DependencyInjection;

use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;

class Configuration implements ConfigurationInterface
{
    public function getConfigTreeBuilder()
    {
        $treeBuilder = new TreeBuilder();
        $rootNode = $treeBuilder->root('hey_update_emoji');

        $rootNode
            ->children()
                ->scalarNode('image_html_template')
                    ->defaultValue('https://twemoji.maxcdn.com/36x36/%s.png')
                ->end()
            ->end();

        return $treeBuilder;
    }
}

<?php

namespace HeyUpdate\EmojiBundle\DependencyInjection;

use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;

class Configuration implements ConfigurationInterface
{
    public function getConfigTreeBuilder()
    {
        $treeBuilder = new TreeBuilder();
        $rootNode = $treeBuilder->root('hey_update_emoji');

        $rootNode
            ->children()
                ->scalarNode('image_html_template')
                    ->defaultValue('<img alt=":{{name}}:" class="emoji" src="https://twemoji.maxcdn.com/36x36/{{unicode}}.png">')
                ->end()
            ->end();

        return $treeBuilder;
    }
}

Correct the default image template value.
Correct the default image template value.
