public function getCopyText()
    {
        $content = $this->getContent();
        $copy = array_shift($content);

        if (!is_array($copy)) {
            return null;
        }

        if ($copy['element'] !== 'copy') {
            return null;
        }

        return $copy['content'];
    }
public function getCopyText()
    {
        $content = $this->getContent();
        $copy = array_shift($content);

        if (!is_array($copy)) {
            return null;
        }

        if ($copy['element'] !== 'copy') {
            return null;
        }

        return $copy['content'];
    }
public function getCopyText ( ) { $ content = $ this -> getContent ( ) ; $ copy = array_shift ( $ content ) ; if ( ! is_array ( $ copy ) ) { return null ; } if ( $ copy [ 'element' ] !== 'copy' ) { return null ; } return $ copy [ 'content' ] ; }
Get the copy text of the current element; raw markdown likely

@api
@return string|null
Get the copy text of the current element ; raw markdown likely