protected function getContentElementTypoScriptPath() { $typoScriptPathSegments = explode('/', $this->path); $numberOfTypoScriptPathSegments = count($typoScriptPathSegments); if (isset($typoScriptPathSegments[$numberOfTypoScriptPathSegments - 3]) && $typoScriptPathSegments[$numberOfTypoScriptPathSegments - 3] === '__meta' && isset($typoScriptPathSegments[$numberOfTypoScriptPathSegments - 2]) && $typoScriptPathSegments[$numberOfTypoScriptPathSegments - 2] === 'process') { // cut of the processing segments "__meta/process/contentElementWrapping<Neos.Neos:ContentElementWrapping>" return implode('/', array_slice($typoScriptPathSegments, 0, -3)); } return $this->path; }