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

All methods in EntityListController that are not in EntityListControllerInterface must be protected

$
0
0

In order to be a list controller, you don't need to implement buildRow(), buildHeader(), and buildOperations(). Yet they are public, which could encourage them to be called from outside the class, and is also confusing when you are looking at an existing implementation to understand the class better.

AttachmentSizeStatusTest resultOperations
entity-list-interface.patch6.97 KBTest request sentNoneView details

Viewing all articles
Browse latest Browse all 292199

Trending Articles



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