Returns the Contentful entry name.
767331
public function contentfulEntryName(string $entryId): string
    {
        try {
            $contentfulEntry = $this->contentful->loadContentfulEntry($entryId);
        } catch (Throwable $t) {
            return '';
        }

        return $contentfulEntry->getName();
    }
295622
def name(self):
        """"""
        if self._name == '' and self.details != None and 'name' in self.details:
            self._name = self.details['name']
        return self._name
1313307
def get_name(default: str = 'no name set'):
    
    try:
        with open('/etc/machine-info') as emi:
            contents = emi.read()
    except OSError:
        LOG.exception(
            "Couldn't read /etc/machine-info")
        contents = ''
    for line in contents.split('\n'):
        if line.startswith('PRETTY_HOSTNAME='):
            return '='.join(line.split('=')[1:])
    LOG.warning(f"No PRETTY_HOSTNAME in {contents}, defaulting to {default}")
    try:
        _update_pretty_hostname(default)
    except OSError:
        LOG.exception("Could not write new pretty hostname!")
    return default
664696
@NotNull
    @Size(max = 100)
    @ApiModelProperty(required = true, value = "")
    public String getName() {
        return name;
    }
631773
def _GetActualName(name):
   
   if _allowCapitalizedNames:
      name = UncapitalizeVmodlName(name)
   for defMap in _dataDefMap, _managedDefMap, _enumDefMap:
      dic = defMap.get(name)
      if dic:
         return dic[0]
   return None
1159014
public String getTermFullName() {
        if (termPrefix == null) {
            return termName;
        } else {
            if (termLocale == null) {
                return termPrefix.message + STRING_BLANK + termName;
            } else {
                final String key = "IndexTerm." + termPrefix.message.toLowerCase().trim().replace(' ', '-');
                final String msg = Messages.getString(key, termLocale);
                if (rtlLocaleList.contains(termLocale.toString())) {
                    return termName + STRING_BLANK + msg;
                } else {
                    return msg + STRING_BLANK + termName;
                }
            }
        }
    }
1137294
private String getCurrentOuRelativeName(String name) {

        if (m_request == null) {
            return CmsOrganizationalUnit.SEPARATOR + name;
        }
        String ou = CmsOrganizationalUnit.getParentFqn(name);
        if (ou.equals(m_request.getCurrentUser().getOuFqn())) {
            return CmsOrganizationalUnit.getSimpleName(name);
        }
        return CmsOrganizationalUnit.SEPARATOR + name;
    }
332057
public static synchronized String getFullName(String cweId) {
        final String name = getName(cweId);
        if (name != null) {
            return cweId + " " + name;
        }
        return cweId;
    }
935357
def _fullname(o):
    """"""
    return o.__module__ + "." + o.__name__ if o.__module__ else o.__name__
36228
public function getIsoName(): string
    {
        $name = $this->getFullIsoName();

        return trim(strstr($name, ',', true) ?: $name);
    }
74067
public String getName()
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) 
      SibTr.entry(tc, "getName");
    
    String name = foreignDest.getName();
    
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) 
      SibTr.exit(tc, "getName", name);
    
    return name;

  }
972172
private String getName(Description description, RoxableTest mAnnotation) {
		if (mAnnotation == null || mAnnotation.name() == null || mAnnotation.name().isEmpty()) {
			return Inflector.getHumanName(description.getMethodName());
		}
		else {
			return mAnnotation.name();
		}
	}
1363216
static String getFullPathName(byte[][] names) {
    StringBuilder fullPathName = new StringBuilder();
    for (int i = 1; i < names.length; i++) {
      byte[] name = names[i];
      fullPathName.append(Path.SEPARATOR_CHAR)
        .append(DFSUtil.bytes2String(name));
    }
    return fullPathName.toString();
  }
830877
function encodeGlossaryEntry(entry) {
    return {
        id: entry.getID(),
        name: entry.getName(),
        description: entry.getDescription()
    };
}
24029
def get_entry_compact_text_repr(entry, entries):
    """"""
    text = get_shortest_text_value(entry)
    if text is not None:
        return text
    else:
        sources = get_sourced_from(entry)
        # There are a lot of references to this entity, each of which refer
        # to it by a different text label. For the sake of visualization,
        # let's pick one of these labels (in this case, the shortest one)
        if sources is not None:
            texts = []
            for source in sources:
                source_entry = entries[source]
                texts.append(get_shortest_text_value(source_entry))
            return get_shortest_string(texts)
744144
public Entry getEntryByTitle(String title) {
        for (Entry entry : entries) {
            if (entry.getTitle().equalsIgnoreCase(title)) {
                return entry;
            }
        }
        return null;
    }
851378
def entry_name(options = {})
      default = options[:count] == 1 ? model_name.human : model_name.human.pluralize
      model_name.human(options.reverse_merge(default: default))
    end