moduleDataSetup = $moduleDataSetup; $this->customerSetupFactory = $customerSetupFactory; } /** * {@inheritdoc} */ public function apply() { $customerSetup = $this->customerSetupFactory->create(['setup' => $this->moduleDataSetup]); $customerSetup->addAttribute( Customer::ENTITY, 'updated_at', [ 'type' => 'static', 'label' => 'Updated At', 'input' => 'date', 'required' => false, 'sort_order' => 87, 'visible' => false, 'system' => false, ] ); } /** * {@inheritdoc} */ public static function getDependencies() { return [ UpdateIdentifierCustomerAttributesVisibility::class, ]; } /** * {@inheritdoc} */ public static function getVersion() { return '2.0.4'; } /** * {@inheritdoc} */ public function getAliases() { return []; } }