public static function typeAncestryForType(ResolvedFormTypeInterface $formType = null, array &$types) { if (!$formType instanceof ResolvedFormTypeInterface) { return; } $types[] = $formType->getBlockPrefix(); self::typeAncestryForType($formType->getParent(), $types); }
/** * {@inheritdoc} */ public function getBlockPrefix() { return $this->proxiedType->getBlockPrefix(); }
/** * {@inheritdoc} */ public function getBlockPrefix() { return method_exists($this->proxiedType, 'getBlockPrefix') ? $this->proxiedType->getBlockPrefix() : $this->getName(); }