Error message

  • Notice: Undefined property: stdClass::$preferred in _api_make_match_link() (line 1075 of /home/projects/api/www/sites/all/modules/api/api.formatting.inc).
  • Notice: Undefined property: stdClass::$preferred in _api_make_match_link() (line 1079 of /home/projects/api/www/sites/all/modules/api/api.formatting.inc).

public static function LibraryItemRevisionRevertForm::create

File

paragraphs/modules/paragraphs_library/src/Form/LibraryItemRevisionRevertForm.php, line 74

Class

LibraryItemRevisionRevertForm

Namespace

Drupal\paragraphs_library\Form

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('entity_type.manager'), $container
    ->get('date.formatter'), $container
    ->get('datetime.time'), $container
    ->get('messenger'));
}