You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -137,69 +138,70 @@ public function getFunctions(): array
137
138
}
138
139
139
140
/**
140
-
* @param \Ibexa\Contracts\Core\Repository\Values\ValueObject $content Must be a valid Contentor ContentInfo object.
141
+
* @param \Ibexa\Contracts\Core\Repository\Values\Content\Content|\Ibexa\Contracts\Core\Repository\Values\Content\ContentInfo|\Ibexa\Contracts\Core\Repository\Values\Content\ContentAwareInterface $data Must be a valid Content, ContentInfo, or ContentAwareInterface object.
141
142
* @param string $forcedLanguage Locale we want the content name translation in (e.g. "fre-FR"). Null by default (takes current locale)
142
143
*
143
-
* @throws \Ibexa\Core\Base\Exceptions\InvalidArgumentType When $content is not a valid Contentor ContentInfo object.
144
+
* @throws \Ibexa\Core\Base\Exceptions\InvalidArgumentType When $content is not a valid Content, ContentInfo, or ContentAwareInterface object.
* Gets name of a FieldDefinition name by loading ContentType based on Content/ContentInfo object.
192
+
* Gets name of a FieldDefinition name by loading ContentType based on Content/ContentInfo/ContentAwareInterface object.
191
193
*
192
-
* @param \Ibexa\Contracts\Core\Repository\Values\ValueObject $content Must be Contentor ContentInfo object
194
+
* @param \Ibexa\Contracts\Core\Repository\Values\Content\Content|\Ibexa\Contracts\Core\Repository\Values\Content\ContentInfo|\Ibexa\Contracts\Core\Repository\Values\Content\ContentAwareInterface $data Must be Content, ContentInfo, or ContentAwareInterface object
193
195
* @param string $fieldDefIdentifier Identifier for the field we want to get the name from
194
196
* @param string $forcedLanguage Locale we want the content name translation in (e.g. "fre-FR"). Null by default (takes current locale)
195
197
*
196
-
* @throws \Ibexa\Core\Base\Exceptions\InvalidArgumentType When $content is not a valid Content object.
198
+
* @throws \Ibexa\Core\Base\Exceptions\InvalidArgumentType When $content is not a valid Content, ContentInfo, or ContentAwareInterface object.
sprintf('%s or %s or %s', Content::class, ContentInfo::class, ContentAwareInterface::class),
216
+
$data
217
+
);
212
218
}
213
219
214
220
/**
215
-
* Gets name of a FieldDefinition description by loading ContentType based on Content/ContentInfo object.
221
+
* Gets name of a FieldDefinition description by loading ContentType based on Content/ContentInfo/ContentAwareInterface object.
216
222
*
217
-
* @param \Ibexa\Contracts\Core\Repository\Values\ValueObject $content Must be Contentor ContentInfo object
223
+
* @param \Ibexa\Contracts\Core\Repository\Values\Content\Content|\Ibexa\Contracts\Core\Repository\Values\Content\ContentInfo|\Ibexa\Contracts\Core\Repository\Values\Content\ContentAwareInterface $data Must be Content, ContentInfo, or ContentAwareInterface object
218
224
* @param string $fieldDefIdentifier Identifier for the field we want to get the name from
219
225
* @param string $forcedLanguage Locale we want the content name translation in (e.g. "fre-FR"). Null by default (takes current locale)
220
226
*
221
-
* @throws \Ibexa\Core\Base\Exceptions\InvalidArgumentType When $content is not a valid Content object.
0 commit comments