Make a new SEO URL entity

Created on 31 March 2023, almost 2 years ago
Updated 1 April 2023, almost 2 years ago

Problem/Motivation

Provide a new entity type to store SEO URLs instead of the taxonomy term.

Why:
Although it is unlikely, there is a possibility that the site where the module will be installed will already have a taxonomy term with the same name. Or fields with such names will already exist, which will lead to a conflict.

Proposed resolution

  1. Create a new entity type seo_url.
  2. Add all required fields via BaseFieldDefinition (names and types of the fields must be the same)
  3. Make new permissions for a new entity type
  4. Update SeoUrlManagerInterface::ENTITY_TYPE and SeoUrlManagerInterface::ENTITY_BUNDLE
  5. Implement all required changed for 'seo_urls.create' route
  6. Add new admin links to be able to configure new entities
✨ Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine HitchShock Ukraine

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024