File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99use Neos \ContentRepository \Domain \NodeType \NodeTypeConstraintFactory ;
1010use Neos \ContentRepository \Domain \Projection \Content \TraversableNodeInterface ;
1111use Neos \ContentRepository \Domain \Projection \Content \TraversableNodes ;
12+ use Neos \Eel \ProtectedContextAwareInterface ;
1213use Neos \Flow \Annotations as Flow ;
1314use Neos \Flow \I18n \Translator ;
1415use Neos \Neos \Service \ContentElementEditableService ;
1718/**
1819 * The generic abstract component presentation object factory implementation
1920 */
20- abstract class AbstractComponentPresentationObjectFactory implements ComponentPresentationObjectFactoryInterface
21+ abstract class AbstractComponentPresentationObjectFactory implements ComponentPresentationObjectFactoryInterface, ProtectedContextAwareInterface
2122{
2223 /**
2324 * @Flow\Inject
@@ -56,4 +57,14 @@ final protected function findChildNodesByNodeTypeFilterString(TraversableNodeInt
5657 {
5758 return $ parentNode ->findChildNodes ($ this ->nodeTypeConstraintFactory ->parseFilterString ($ nodeTypeFilterString ));
5859 }
60+
61+ /**
62+ * All methods are considered safe
63+ * @param string $methodName
64+ * @return boolean
65+ */
66+ public function allowsCallOfMethod ($ methodName ): bool
67+ {
68+ return true ;
69+ }
5970}
You can’t perform that action at this time.
0 commit comments