Notices flood log when link text is not provided.
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #2821264. -->
Reported by: [ivavictoria](https://www.drupal.org/user/3061533)
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>When a linked field is created without link text, notices flood the dblog:</p>
<pre>Notice: Undefined index: text in linked_field_entity_display_build_alter() (line 355 of /var/www/pennlib/code/modules/contrib/linked_field/linked_field.module) ...<br><br>Notice: Undefined index: text in linked_field_field_formatter_third_party_settings_form() (line 242 of /var/www/pennlib/code/modules/contrib/linked_field/linked_field.module)...</pre><p>This is similar to <a href="https://www.drupal.org/node/2684277">issue 2684277</a>.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>We just need to thoroughly check whether or not link text has been provided.<br>
Only three lines seem to be affected; I've created a patch that addresses the problem.</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<ul>
<li>A patch has been created and is ready for review.</li>
</ul>
issue