Created
November 14, 2020 09:55
-
-
Save Oleksii909/f131cd143975bdf8d5551c1301a7e430 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* {@inheritdoc} | |
*/ | |
protected function assertEntityInstanceFieldMarkup($expected_field_attributes) { | |
if (func_num_args() === 4) { | |
$expected_field_attributes = func_get_arg(3); | |
@trigger_error('Calling ' . __METHOD__ . '() with 4 arguments is deprecated in drupal:9.1.0 and will throw an error in drupal:10.0.0. See https://www.drupal.org/project/drupal/issues/3037436', E_USER_DEPRECATED); | |
} | |
parent::assertEntityInstanceFieldMarkup($this->replaceLayoutBuilderFieldIdKeys($expected_field_attributes)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment