I'd like to refactor the module code into separate classes, and call those within override_node_options_form_alter() and override_node_options_entity_field_access_alter().

This should also highlight any code that isn't covered by the existing tests.

Comments

opdavies created an issue. See original summary.

marcosdr’s picture

StatusFileSize
new12.72 KB

Refactor module hooks code into separate classes for field control access.

opdavies’s picture

Status: Active » Needs review
marcosdr’s picture

StatusFileSize
new0 bytes
marcosdr’s picture

StatusFileSize
new12.46 KB
opdavies’s picture

opdavies’s picture

StatusFileSize
new12.43 KB
new9.95 KB

Fixed some coding standards issues.

opdavies’s picture

StatusFileSize
new12.43 KB
opdavies’s picture

StatusFileSize
new14.23 KB
opdavies’s picture

StatusFileSize
new13.68 KB
opdavies’s picture

#10 fixes all of the coding standards issues that were added in earlier patches.

  • opdavies committed 0c947df on 8.x-2.x authored by marcosdr
    Issue #3122619 by opdavies, marcosdr: Refactor the module code into...

  • opdavies committed 8604b85 on 8.x-3.x authored by marcosdr
    Issue #3122619 by opdavies, marcosdr: Refactor the module code into...
opdavies’s picture

Status: Needs review » Fixed

Thanks @marcosdr!

opdavies’s picture

Assigned: opdavies » Unassigned

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.