/** * @param string $code * @return \Magento\Eav\Model\Entity\Attribute\AbstractAttribute */ function df_customer_attribute($code) { return df_eav_config()->getAttribute(df_eav_customer(), $code); }
/** * 2015-10-12 * @return EntityType */ function df_eav_customer() { return df_eav_config()->getEntityType('customer'); }