src/FieldHandlers/Provider/RenderName/DefaultRenderer.php
public function provide($data = null, array $options = [])
    {
        $result = '';

        // Return as is, if not empty
        if (!empty($data)) {
            return $data;
        }

        // Fallback on the field name
        $result = $this->config->getField();

        $result = $this->cleanName($result);

        return $result;
    }
public function provide($data = null, array $options = [])
    {
        $result = '';

        // Return as is, if not empty
        if (!empty($data)) {
            return $data;
        }

        // Fallback on the field name
        $result = $this->config->getField();

        $result = $this->cleanName($result);

        return $result;
    }
public function provide ( $ data = null , array $ options = [ ] ) { $ result = '' ; // Return as is, if not empty if ( ! empty ( $ data ) ) { return $ data ; } // Fallback on the field name $ result = $ this -> config -> getField ( ) ; $ result = $ this -> cleanName ( $ result ) ; return $ result ; }
Provide rendered name

@param mixed $data Data to use for provision
@param array $options Options to use for provision
@return mixed
Provide rendered name