src/Forms/HTMLEditor/TinyMCECombinedGenerator.php
public function generateFilename(TinyMCEConfig $config)
    {
        $hash = substr(sha1(json_encode($config->getAttributes())), 0, 10);
        $name = $this->checkName($config);
        $url = str_replace(
            ['{name}', '{hash}'],
            [$name, $hash],
            $this->config()->get('filename_base')
        );
        return $url;
    }
public function generateFilename(TinyMCEConfig $config)
    {
        $hash = substr(sha1(json_encode($config->getAttributes())), 0, 10);
        $name = $this->checkName($config);
        $url = str_replace(
            ['{name}', '{hash}'],
            [$name, $hash],
            $this->config()->get('filename_base')
        );
        return $url;
    }
public function generateFilename ( TinyMCEConfig $ config ) { $ hash = substr ( sha1 ( json_encode ( $ config -> getAttributes ( ) ) ) , 0 , 10 ) ; $ name = $ this -> checkName ( $ config ) ; $ url = str_replace ( [ '{name}' , '{hash}' ] , [ $ name , $ hash ] , $ this -> config ( ) -> get ( 'filename_base' ) ) ; return $ url ; }
Get filename to use for this config

@param TinyMCEConfig $config
@return mixed
Get filename to use for this config