Commit d3064e44 authored by Mateu Aguiló Bosch's avatar Mateu Aguiló Bosch
Browse files

Avoid warning

parent 9788f3ec
......@@ -78,7 +78,7 @@ class TypedEntityManager implements TypedEntityManagerInterface {
* @return array
* An array of class name candidates.
*/
protected static function getClassNameCandidates($entity_type, $bundle) {
protected static function getClassNameCandidates($entity_type, $bundle = NULL) {
$candidates = module_invoke_all('typed_entity_registry_info');
$candidate_entity_type = $candidate_bundle = '';
foreach ($candidates as $candidate) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment