*/ public function definition(): array { return [ 'type' => \collect(MenuNodeType::toArray())->random()->value, 'sub_label' => fake()->sentence(), 'title' => fake()->sentence(), 'text' => fake()->sentence(), 'text_color' => fake()->unique()->safeHexColor(), 'link_url' => fake()->url(), 'link_title' => fake()->sentence(), 'link_target' => fake()->boolean(), 'link_status' => fake()->boolean(), 'picture' => '', 'picture_alt' => fake()->sentence(), 'picture_title' => fake()->sentence(), 'picture_status' => fake()->boolean(), 'background_picture' => '', 'background_picture_alt' => fake()->sentence(), 'background_picture_title' => fake()->sentence(), ]; } }