- ⌂ Content Type Field
- Methods
ContentTypeField::is_embedded_reference()
Return TRUE if this field is an embedded content field.
Prototype
boolean is_embedded_reference()
Return
Return TRUE if this field is an embedded content field, otherwise FALSE.
Example
// note that the Web Page Sections field is an embedded content field
$repo = comand::repo();
$web_page_ct = $repo->get_content_type('SitesWebPage');
$status_field = $web_page_ct->get_field('Sections');
if($status_field->is_embedded_reference()) {
echo("Sections is an embedded content field.\n");
}