public function FlexiformBuilderFlexiform::supportsComponent in Flexiform 7
Support Components.
Determine whether or not a builder supports a paricular component.
Overrides FlexiformBuilder::supportsComponent
File
- includes/
builder/ flexiform.builder.inc, line 241 - Contains the FlexiformBuilderFlexiform Class
Class
- FlexiformBuilderFlexiform
- Flexiform Builder Class for the complex flexiforms.
Code
public function supportsComponent($component) {
return in_array($component, array(
'entities',
'elements',
));
}