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

Move helpers in entity_test.module and delete it

$
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

  • entity_test_form_entity_test_form_validate() to Callbacks
  • entity_test_form_entity_test_form_validate_check() to Callbacks
  • entity_test_field_default_value() to Callbacks
  • _entity_test_record_hooks() to EntityTestHooks
  • Add return type to moved functions.

Will be done in separate issue:

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 293926

Trending Articles



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