Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295544

Move entity_test_entity_types from entity_test.module

$
0
0

Problem/Motivation

.module files are only necessary when there are preprocess functions now that almost all hooks can be OOP

Steps to reproduce

Open file

Proposed resolution

  • convert const to enum.
  • move entity_test_entity_types() to EntityTestHelper.
  • Add return type to moved functions.

Remaining tasks

None

User interface changes

N/A

Introduced terminology

N/A

API changes

N/A

Data model changes

N/A

Release notes snippet

N/A


Viewing all articles
Browse latest Browse all 295544


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>