Created
February 17, 2020 11:52
-
-
Save factoryhr/4aac7bd04d6a33fc6e4b609e73450675 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$objects = \Pimcore\Model\Element\Tag::getElementsForTag($tag, ‘object’); | |
$availableObjects = []; | |
foreach ($objects as $object) { | |
$availableObjects[] = $object; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment